From: Felix Fietkau Date: Sun, 4 Jul 2010 02:15:08 +0000 (+0000) Subject: ag71xx: reset the hardware during open(), this improves recovery from tx timeouts... X-Git-Tag: reboot~19479 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=15b209d09f853e43319c09a3cdc7b414ba696d89;p=oweals%2Fopenwrt.git ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably SVN-Revision: 22055 --- diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c index 9fd41527dd..4e597ebb5e 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c @@ -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);