diff options
author | Oliver Neukum <oneukum@suse.com> | 2016-05-02 11:06:12 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-03 19:49:34 (GMT) |
commit | 8caf115c726e87526c4a1cbd8ba616d6a022ccd8 (patch) | |
tree | 1977bdb1abd98210b4222fde0a413f3ca088d949 | |
parent | c0f31a05f5b405b67e08079d218ac42b3f0a1786 (diff) | |
download | linux-8caf115c726e87526c4a1cbd8ba616d6a022ccd8.tar.xz |
brcm80211: correct speed testing
Allow for SS+ USB
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |