aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJonathan McDowell <noodles@earth.li>2009-04-17 21:20:10 +0000
committerChris Wright <chrisw@sous-sol.org>2009-04-27 10:37:02 -0700
commit5c435c37e2652e5d066dc81fcc108a0dffbdb33d (patch)
treee702949c08f40faa4e25e3586794eeaab8532a0c /init
parent0857bb06065b5c5a51d205c4c04ec1202e27d399 (diff)
usb gadget: fix ethernet link reports to ethtool
upstream commit: 237e75bf1e558f7330f8deb167fa3116405bef2c 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> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions