Skip to contentSkip to conversation

b43: Force-wake queues on init

PATCH In review Michael Buesch 2 participants 3 messages Sep 10, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 b43: Force-wake queues on init

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.

---

drivers/net/wireless/b43/main.c +2 -0
Index: wireless-testing/drivers/net/wireless/b43/main.c
===================================================================
@@ -4326,6 +4326,8 @@ static int b43_wireless_core_init(struct
 	b43_upload_card_macaddress(dev);
 	b43_security_init(dev);
 
+	ieee80211_wake_queues(dev->wl->hw);
+
 	b43_set_status(dev, B43_STAT_INITIALIZED);
 
 out:
Signature · 1 line
Greetings, Michael.
#1 lore raw
Quoted 3 lines · Michael Buesch

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.

So this is a work around for some unknown issue on the driver?

Luis

#2 lore raw
Quoted 6 lines · On Thursday 10 September 2009 20:34:36 Luis R. Rodriguez wrote:
Quoted 3 lines · Michael Buesch

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.

So this is a work around for some unknown issue on the driver?

No, it's a fix for a bug that should not trigger in practice very often.

Signature · 1 line
Greetings, Michael.