Skip to content

Commit

Permalink
KS8695: Don't call netif_carrier_off() from ndo_stop()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yegor Yefremov authored and David S. Miller committed Feb 26, 2010
1 parent 19bc291 commit 9abd543
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/arm/ks8695net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 9abd543

Please sign in to comment.