[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140724.233807.867041649917385199.davem@davemloft.net>
Date: Thu, 24 Jul 2014 23:38:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hayeswang@...ltek.com
Cc: netdev@...r.kernel.org, nic_swsd@...ltek.com,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
andrey.krieger.utkin@...il.com
Subject: Re: [PATCH net] r8152: fix the checking of the usb speed
From: Hayes Wang <hayeswang@...ltek.com>
Date: Thu, 24 Jul 2014 16:37:43 +0800
> 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@...ltek.com>
> Spotted-by: Andrey Utkin <andrey.krieger.utkin@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists