aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide/rapide.c
diff options
context:
space:
mode:
authorJonathan McDowell <noodles@earth.li>2009-03-26 00:45:27 -0700
committerNelson Castillo <arhuaco@freaks-unidos.net>2009-05-15 00:05:26 -0500
commitaded5330d196644b0f16423dfde9bb2344d991d5 (patch)
treec508173d82890bd132bace12a05498abc7ca65dc /drivers/ide/rapide.c
parent4fc401c9b26be1765de71791e15e59093df94eac (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 'drivers/ide/rapide.c')
0 files changed, 0 insertions, 0 deletions