summaryrefslogtreecommitdiff
path: root/net/ipv6/udp_impl.h
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2009-03-02 04:45:40 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-03-02 04:45:40 (GMT)
commit05ffb3e287dfa8ad9fdf29089837b54bc6473303 (patch)
tree8206ab8731a7324e869244b4934c08349444ce7e /net/ipv6/udp_impl.h
parent2cf48a10aa1f45c7b1f1117a829f2f8a1a1309e2 (diff)
downloadlinux-fsl-qoriq-05ffb3e287dfa8ad9fdf29089837b54bc6473303.tar.xz
usbnet: make usbnet_get_link() fall back to ethtool_op_get_link()
Make usbnet_get_link() fall back to ethtool_op_get_link() instead of defaulting to 1. This makes usbnet_get_link return valid results without the need for a driver specific check_connect or mii ops as long as the driver calls netif_carrier_{on,off}() as appropriate. cdc_ether is an example of such a driver. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp_impl.h')
0 files changed, 0 insertions, 0 deletions