aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mod/file2alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
index d802b5afae89..9ddf944cce29 100644
--- a/scripts/mod/file2alias.c
+++ b/scripts/mod/file2alias.c
@@ -155,7 +155,7 @@ static void do_usb_entry_multi(struct usb_device_id *id, struct module *mod)
155 * Some modules (visor) have empty slots as placeholder for 155 * Some modules (visor) have empty slots as placeholder for
156 * run-time specification that results in catch-all alias 156 * run-time specification that results in catch-all alias
157 */ 157 */
158 if (!(id->idVendor | id->bDeviceClass | id->bInterfaceClass)) 158 if (!(id->idVendor | id->idProduct | id->bDeviceClass | id->bInterfaceClass))
159 return; 159 return;
160 160
161 /* Convert numeric bcdDevice range into fnmatch-able pattern(s) */ 161 /* Convert numeric bcdDevice range into fnmatch-able pattern(s) */