aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2011-01-19 10:29:05 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-20 19:45:55 -0500
commit6a3c869a6021f4abcd69aa5fbb15c63f69eb36fe (patch)
treed130f31ff0f3943ab19c42762263a2fce9801f7c /include/net/sch_generic.h
parent4580ccc04ddd8c17a470573a7fdb8def2e036dfa (diff)
cxgb4: fix reported state of interfaces without link
Currently tools like ip and ifconfig report incorrect state for cxgb4 interfaces that are up but do not have link and do so until first link establishment. This is because the initial netif_carrier_off call is before register_netdev and it needs to be after to be fully effective. Fix this by moving netif_carrier_off into .ndo_open. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
0 files changed, 0 insertions, 0 deletions