KS8695: Don't call netif_carrier_off() from ndo_stop()
authorYegor Yefremov <yegor_sub1@visionsystems.de>
Mon, 22 Feb 2010 05:47:58 +0000 (05:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 09:19:39 +0000 (01:19 -0800)
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>
drivers/net/arm/ks8695net.c

index 2380696..8ca6391 100644 (file)
@@ -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);