Skip to content

Commit

Permalink
brcm80211: correct speed testing
Browse files Browse the repository at this point in the history
Allow for SS+ USB

Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Oliver Neukum authored and David S. Miller committed May 3, 2016
1 parent c0f31a0 commit 8caf115
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 8caf115

Please sign in to comment.