Commit 8caf115c authored by Oliver Neukum's avatar Oliver Neukum Committed by David S. Miller

brcm80211: correct speed testing

Allow for SS+ USB
Signed-off-by: default avatarOliver Neukum <ONeukum@suse.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c0f31a05
...@@ -1368,7 +1368,9 @@ brcmf_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) ...@@ -1368,7 +1368,9 @@ brcmf_usb_probe(struct usb_interface *intf, const struct usb_device_id *id)
devinfo->ifnum = desc->bInterfaceNumber; 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"); brcmf_dbg(USB, "Broadcom super speed USB WLAN interface detected\n");
else if (usb->speed == USB_SPEED_HIGH) else if (usb->speed == USB_SPEED_HIGH)
brcmf_dbg(USB, "Broadcom high speed USB WLAN interface detected\n"); brcmf_dbg(USB, "Broadcom high speed USB WLAN interface detected\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment