b44: fix carrier detection on bind
authorPaul Fertser <fercerpav@gmail.com>
Mon, 11 Oct 2010 22:45:35 +0000 (15:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Oct 2010 22:45:35 +0000 (15:45 -0700)
For carrier detection to work properly when binding the driver with a cable
unplugged, netif_carrier_off() should be called after register_netdev(),
not before.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found