提交 9abd5438 编写于 作者: Y Yegor Yefremov 提交者: 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: NYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 19bc291c
...@@ -1333,7 +1333,6 @@ ks8695_stop(struct net_device *ndev) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册