KS8695: Don't call netif_carrier_off() from ndo_stop()

netif_carrier_on() and netif_carrier_off() should be called from
link status interrupt handler

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yegor Yefremov 2010-02-22 05:47:58 +00:00 committed by David S. Miller
parent 19bc291c99
commit 9abd543864

View File

@ -1333,7 +1333,6 @@ ks8695_stop(struct net_device *ndev)
netif_stop_queue(ndev);
napi_disable(&ksp->napi);
netif_carrier_off(ndev);
ks8695_shutdown(ksp);