aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-07-24 04:37:43 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-25 02:37:36 -0400
commita3cc465d95c32bfb529f69dee7841ecd67525561 (patch)
treef58d45ef4e5c959c7bde7fee2a9c390f735f8ce4 /drivers/net/ethernet/broadcom/bnx2x
parente62f77579cb6fbb05a703ffa1f9e9f81076e69aa (diff)
r8152: fix the checking of the usb speed
When the usb speed of the RTL8152 is not high speed, the USB_DEV_STAT[2:1] should be equal to [0 1]. That is, the STAT_SPEED_FULL should be equal to 2. There is a easy way to check the usb speed by the speed field of the struct usb_device. Use it to replace the original metheod. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Spotted-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
0 files changed, 0 insertions, 0 deletions