diff options
-rw-r--r-- | drivers/usb/wusbcore/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/wusbcore/security.c b/drivers/usb/wusbcore/security.c index 8118db7f1d8d..b2f149fedcc5 100644 --- a/drivers/usb/wusbcore/security.c +++ b/drivers/usb/wusbcore/security.c | |||
@@ -562,7 +562,7 @@ void wusbhc_gtk_rekey(struct wusbhc *wusbhc) | |||
562 | struct wusb_dev *wusb_dev; | 562 | struct wusb_dev *wusb_dev; |
563 | 563 | ||
564 | wusb_dev = wusbhc->port[p].wusb_dev; | 564 | wusb_dev = wusbhc->port[p].wusb_dev; |
565 | if (!wusb_dev || !wusb_dev->usb_dev | !wusb_dev->usb_dev->authenticated) | 565 | if (!wusb_dev || !wusb_dev->usb_dev || !wusb_dev->usb_dev->authenticated) |
566 | continue; | 566 | continue; |
567 | 567 | ||
568 | usb_fill_control_urb(wusb_dev->set_gtk_urb, wusb_dev->usb_dev, | 568 | usb_fill_control_urb(wusb_dev->set_gtk_urb, wusb_dev->usb_dev, |