ag71xx: reset the hardware during open(), this improves recovery from tx timeouts...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Jul 2010 02:15:08 +0000 (02:15 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Jul 2010 02:15:08 +0000 (02:15 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c

index 9fd4152..4e597eb 100644 (file)
@@ -579,6 +579,8 @@ static int ag71xx_open(struct net_device *dev)
        if (ret)
                goto err;
 
+       ag71xx_hw_init(ag);
+
        napi_enable(&ag->napi);
 
        netif_carrier_off(dev);
This page took 0.028866 seconds and 4 git commands to generate.