summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/drivers
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-09 06:30:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-09 06:30:13 +0000
commitf3d693c0eeffacf542c1bbaf024e38664dee9ebd (patch)
treef3d32deb86b2db13614a8e8f8930e9c052f7955f /target/linux/ar71xx/files/drivers
parent2806c75c07ea492eb48ecf7bcca9d6edfffe40df (diff)
downloadmtk-20170518-f3d693c0eeffacf542c1bbaf024e38664dee9ebd.zip
mtk-20170518-f3d693c0eeffacf542c1bbaf024e38664dee9ebd.tar.gz
mtk-20170518-f3d693c0eeffacf542c1bbaf024e38664dee9ebd.tar.bz2
ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
SVN-Revision: 27568
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c4
1 files changed, 0 insertions, 4 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 e228fd0..128bd94 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
@@ -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);
}