brcmfmac: Add log of superspeed device detection to USB probe.
authorHante Meuleman <meuleman@broadcom.com>
Tue, 27 May 2014 10:56:20 +0000 (12:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 May 2014 17:08:12 +0000 (13:08 -0400)
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c

index 3c3ffff57a0e0d7f3d0465a72a5f3b12adcf3401..8d679403518f1866806a4b4e9e86b3f3628e498d 100644 (file)
@@ -1417,7 +1417,9 @@ brcmf_usb_probe(struct usb_interface *intf, const struct usb_device_id *id)
 
        devinfo->interval = IFEPDESC(usb, CONTROL_IF, 0).bInterval;
 
-       if (usb->speed == USB_SPEED_HIGH)
+       if (usb->speed == USB_SPEED_SUPER)
+               brcmf_dbg(USB, "Broadcom super speed USB wireless device detected\n");
+       else if (usb->speed == USB_SPEED_HIGH)
                brcmf_dbg(USB, "Broadcom high speed USB wireless device detected\n");
        else
                brcmf_dbg(USB, "Broadcom full speed USB wireless device detected\n");