From: Felix Fietkau Date: Sat, 9 Jul 2011 06:30:13 +0000 (+0000) Subject: ar71xx: do not reset the hardware on transmit timeout - this would mess up the up... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f3d693c0eeffacf542c1bbaf024e38664dee9ebd;p=openwrt%2Fstaging%2Frobimarko.git ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state SVN-Revision: 27568 --- 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 e228fd0fd2..128bd94ba2 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); }