summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2011-01-19 15:29:05 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-20 16:45:55 -0800
commit6a3c869a6021f4abcd69aa5fbb15c63f69eb36fe (patch)
treed130f31ff0f3943ab19c42762263a2fce9801f7c /init
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 'init')
0 files changed, 0 insertions, 0 deletions