]> err.no Git - yubikey-personalization/commitdiff
spelling.. product_ids, not prduct_ids..
authorKlas Lindfors <klas@yubico.com>
Fri, 30 Nov 2012 13:14:44 +0000 (14:14 +0100)
committerKlas Lindfors <klas@yubico.com>
Fri, 30 Nov 2012 13:14:44 +0000 (14:14 +0100)
ykcore/ykcore_libusb.c

index adae378e2949fac51d4284343b62a252649cb3f3..cfb9acf354f8a0eccd4a8d0879b61539badc4088 100644 (file)
@@ -158,7 +158,7 @@ void *_ykusb_open_device(int vendor_id, int *product_ids, size_t pids_len)
                        if (dev->descriptor.idVendor == vendor_id) {
                                size_t j;
                                for (j = 0; j < pids_len; j++) {
-                                       if (dev->descriptor.idProduct == prduct_ids[j]) {
+                                       if (dev->descriptor.idProduct == product_ids[j]) {
                                                break;
                                        }
                                }