Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a67ab2bd authored by Larry Finger's avatar Larry Finger Committed by John W. Linville
Browse files

[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: default avatarMichael Buesch <mb@bu3sch.de>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 583afd1e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3170,8 +3170,7 @@ static void bcm43xx_periodic_work_handler(void *d)
		 * be preemtible.
		 */
		mutex_lock(&bcm->mutex);
		netif_stop_queue(bcm->net_dev);
		synchronize_net();
		netif_tx_disable(bcm->net_dev);
		spin_lock_irqsave(&bcm->irq_lock, flags);
		bcm43xx_mac_suspend(bcm);
		if (bcm43xx_using_pio(bcm))