ar71xx: do not reset the hardware on transmit timeout - this would mess up the up...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 9 Jul 2011 06:30:13 +0000 (06:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 9 Jul 2011 06:30:13 +0000 (06:30 +0000)
SVN-Revision: 27568

target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c

index e228fd0fd27c90283545c3ab630b6a2db4ab1cf8..128bd94ba2bb3acc28a2e47223e526e3a6f69a9a 100644 (file)
@@ -742,10 +742,6 @@ static void ag71xx_restart_work_func(struct work_struct *work)
        struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag);
 
        ag71xx_stop(ag->dev);
-
-       if (pdata->is_ar724x)
-               ag71xx_hw_init(ag);
-
        ag71xx_open(ag->dev);
 }