mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 18:49:43 +02:00
ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
950d12ef69
commit
d856215f02
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user