Diff between 5379e024fcafe533a3a65786ca9bc84b3284ae55 and 823821dca098018e5fee9c8556c5d0896c65b972
Changed Files
| File | Additions | Deletions | Status |
| plugins/autopair.c | +1 | -1 | modified |
Full Patch
diff --git a/plugins/autopair.c b/plugins/autopair.c
index 043bd9b..3089430 100644
--- a/plugins/autopair.c
+++ b/plugins/autopair.c
@@ -75,7 +75,7 @@ static ssize_t autopair_pincb(struct btd_adapter *adapter,
btd_device_get_product (device));
/* The iCade shouldn't use random PINs like normal keyboards */
- if (name != NULL && strstr(name, "iCade") != NULL)
+ if (strstr(name, "iCade") != NULL)
return 0;
/* This is a class-based pincode guesser. Ignore devices with an