diff options
author | Jonathan McDowell <noodles@earth.li> | 2009-03-26 03:45:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 13:50:23 -0400 |
commit | 237e75bf1e558f7330f8deb167fa3116405bef2c (patch) | |
tree | 2757c37e072468cebf5dbf86ab32e7b0ac603f02 /crypto/serpent.c | |
parent | 9f76208c33984ab777eace5d07a4e36e88703e02 (diff) |
usb gadget: fix ethernet link reports to ethtool
The g_ether USB gadget driver currently decides whether or not there's a
link to report back for eth_get_link based on if the USB link speed is
set. The USB gadget speed is however often set even before the device is
enumerated. It seems more sensible to only report a "link" if we're
actually connected to a host that wants to talk to us. The patch below
does this for me - tested with the PXA27x UDC driver.
Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/serpent.c')
0 files changed, 0 insertions, 0 deletions