Browse Source

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

SVN-Revision: 22055
Felix Fietkau 15 years ago
parent
commit
15b209d09f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c

+ 2 - 0
target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c

@@ -579,6 +579,8 @@ static int ag71xx_open(struct net_device *dev)
 	if (ret)
 	if (ret)
 		goto err;
 		goto err;
 
 
+	ag71xx_hw_init(ag);
+
 	napi_enable(&ag->napi);
 	napi_enable(&ag->napi);
 
 
 	netif_carrier_off(dev);
 	netif_carrier_off(dev);