[PATCH] bcm43xx: fix netdev watchdog timeouts
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 14 Sep 2006 13:28:54 +0000 (08:28 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Sep 2006 20:52:18 +0000 (16:52 -0400)
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>
drivers/net/wireless/bcm43xx/bcm43xx_main.c

index b02e50d..eb65db7 100644 (file)
@@ -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))