Commit 9abd5438 authored by Yegor Yefremov's avatar Yegor Yefremov Committed by David S. Miller

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: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 19bc291c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment