diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-04 02:15:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-07-04 02:15:08 +0000 |
commit | 15b209d09f853e43319c09a3cdc7b414ba696d89 (patch) | |
tree | 407ae168bb1a0c0437ace79f002f41e3f6f17e77 /target/linux/ar71xx/files/drivers | |
parent | 89da22d1eadc7b829add26884954bf7107f13dd6 (diff) | |
download | mtk-20170518-15b209d09f853e43319c09a3cdc7b414ba696d89.zip mtk-20170518-15b209d09f853e43319c09a3cdc7b414ba696d89.tar.gz mtk-20170518-15b209d09f853e43319c09a3cdc7b414ba696d89.tar.bz2 |
ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
SVN-Revision: 22055
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 9fd4152..4e597eb 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); |