ag71xx: reset the hardware during open(), this improves recovery from tx timeouts...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 4 Jul 2010 02:15:08 +0000 (02:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 4 Jul 2010 02:15:08 +0000 (02:15 +0000)
SVN-Revision: 22055

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

index 9fd41527dd54165d627e0df64f971b6a2a5c0c7b..4e597ebb5ea77657d4e61cb1993f39067760afde 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);