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:
parent
19bc291c99
commit
9abd543864
|
@ -1333,7 +1333,6 @@ ks8695_stop(struct net_device *ndev)
|
||||||
|
|
||||||
netif_stop_queue(ndev);
|
netif_stop_queue(ndev);
|
||||||
napi_disable(&ksp->napi);
|
napi_disable(&ksp->napi);
|
||||||
netif_carrier_off(ndev);
|
|
||||||
|
|
||||||
ks8695_shutdown(ksp);
|
ks8695_shutdown(ksp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue