mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-28 13:37:55 +02:00
ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27973 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d984113388
commit
5051a6677f
@ -795,6 +795,12 @@ static void ag71xx_restart_work_func(struct work_struct *work)
|
||||
{
|
||||
struct ag71xx *ag = container_of(work, struct ag71xx, restart_work);
|
||||
|
||||
if (ag71xx_get_pdata(ag)->is_ar724x) {
|
||||
ag->link = 0;
|
||||
ag71xx_link_adjust(ag);
|
||||
return;
|
||||
}
|
||||
|
||||
ag71xx_stop(ag->dev);
|
||||
ag71xx_open(ag->dev);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user