diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2011-01-19 15:29:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-20 16:45:55 -0800 |
commit | 6a3c869a6021f4abcd69aa5fbb15c63f69eb36fe (patch) | |
tree | d130f31ff0f3943ab19c42762263a2fce9801f7c /crypto | |
parent | 4580ccc04ddd8c17a470573a7fdb8def2e036dfa (diff) | |
download | op-kernel-dev-6a3c869a6021f4abcd69aa5fbb15c63f69eb36fe.zip op-kernel-dev-6a3c869a6021f4abcd69aa5fbb15c63f69eb36fe.tar.gz |
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 'crypto')
0 files changed, 0 insertions, 0 deletions