commit | b47300168e770b60ab96c8924854c3b0eb4260eb | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Nov 19 15:33:54 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 19 15:33:54 2008 -0800 |
tree | 8dcdf57ff27c503cf365ae5a98cf30626612b381 | |
parent | 566521d63720ab47576afb85147e5652993bf1e6 [diff] |
net: Do not fire linkwatch events until the device is registered. Several device drivers try to do things like netif_carrier_off() before register_netdev() is invoked. This is bogus, but too many drivers do this to fix them all up in one go. Reported-by: Folkert van Heusden <folkert@vanheusden.com> Signed-off-by: David S. Miller <davem@davemloft.net>