[PATCH] bcm43xx: fix netdev watchdog timeouts
The setup for running long periodic work has a bug that leads to netdev watchdog tx timeouts. This change eliminates the timeouts. Signed-off-by: Michael Buesch <mb@bu3sch.de> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
583afd1e4f
commit
a67ab2bde7
@@ -3170,8 +3170,7 @@ static void bcm43xx_periodic_work_handler(void *d)
|
|||||||
* be preemtible.
|
* be preemtible.
|
||||||
*/
|
*/
|
||||||
mutex_lock(&bcm->mutex);
|
mutex_lock(&bcm->mutex);
|
||||||
netif_stop_queue(bcm->net_dev);
|
netif_tx_disable(bcm->net_dev);
|
||||||
synchronize_net();
|
|
||||||
spin_lock_irqsave(&bcm->irq_lock, flags);
|
spin_lock_irqsave(&bcm->irq_lock, flags);
|
||||||
bcm43xx_mac_suspend(bcm);
|
bcm43xx_mac_suspend(bcm);
|
||||||
if (bcm43xx_using_pio(bcm))
|
if (bcm43xx_using_pio(bcm))
|
||||||
|
Reference in New Issue
Block a user