mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 05:50:19 +00:00
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);
|
||||
napi_disable(&ksp->napi);
|
||||
netif_carrier_off(ndev);
|
||||
|
||||
ks8695_shutdown(ksp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user