commit | e7d425dcea032f1d0b44b6fa4c6735f13882de6e | [log] [tgz] |
---|---|---|
author | John Crispin <blogic@openwrt.org> | Fri Apr 08 00:54:09 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 12 22:41:32 2016 -0400 |
tree | b3ed88f5546f9b6bdd963493f997fd6ba81323da | |
parent | 34c2e4c9e9b3e434a31f67eecf603dc1496c8cc9 [diff] |
net: mediatek: fix mtk_pending_work The driver supports 2 MACs. Both run on the same DMA ring. If we hit a TX timeout we need to stop both netdevs before restarting them again. If we don't do this, mtk_stop() wont shutdown DMA and the consecutive call to mtk_open() wont restart DMA and enable IRQs. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>