ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably

SVN-Revision: 22055
This commit is contained in:
Felix Fietkau 2010-07-04 02:15:08 +00:00
parent 89da22d1ea
commit 15b209d09f

View 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);