b43: Force-wake queues on init
authorMichael Buesch <mb@bu3sch.de>
Thu, 10 Sep 2009 18:31:46 +0000 (20:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Sep 2009 18:36:03 +0000 (14:36 -0400)
Force wake the mac80211 queues on init.
Under rare circumstances they may be stopped, if a DMA error or
something else causes a device reset while a queue was stopped.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c

index 7a9a3fa..78e9834 100644 (file)
@@ -4287,6 +4287,8 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
        if (!dev->suspend_in_progress)
                b43_rng_init(wl);
 
+       ieee80211_wake_queues(dev->wl->hw);
+
        b43_set_status(dev, B43_STAT_INITIALIZED);
 
        if (!dev->suspend_in_progress)