summaryrefslogtreecommitdiff
path: root/lib/bug.c
diff options
context:
space:
mode:
authorJonathan McDowell <noodles@earth.li>2009-04-17 21:20:10 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-05-02 10:24:27 -0700
commit2de1b14426ca84b4346efc3959a3c2d54e764c8a (patch)
tree0e5074daf899709e37bb2b46a7db61a7d7bce3fa /lib/bug.c
parentda9a8b7bdd7f4fe4e2cf46115083ed9f61eac5e6 (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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions