From: Oliver Neukum Date: Mon, 2 May 2016 11:06:12 +0000 (+0200) Subject: brcm80211: correct speed testing X-Git-Tag: v4.9.8~2112^2~135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8caf115c726e87526c4a1cbd8ba616d6a022ccd8;p=platform%2Fkernel%2Flinux-rpi3.git brcm80211: correct speed testing Allow for SS+ USB Signed-off-by: Oliver Neukum Signed-off-by: David S. Miller --- diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c index aa0b2a1..98b15a9 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c @@ -1368,7 +1368,9 @@ brcmf_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) devinfo->ifnum = desc->bInterfaceNumber; - if (usb->speed == USB_SPEED_SUPER) + if (usb->speed == USB_SPEED_SUPER_PLUS) + brcmf_dbg(USB, "Broadcom super speed plus USB WLAN interface detected\n"); + else if (usb->speed == USB_SPEED_SUPER) brcmf_dbg(USB, "Broadcom super speed USB WLAN interface detected\n"); else if (usb->speed == USB_SPEED_HIGH) brcmf_dbg(USB, "Broadcom high speed USB WLAN interface detected\n");