Message ID | 200909102031.47103.mb@bu3sch.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Thu, Sep 10, 2009 at 11:31 AM, Michael Buesch <mb@bu3sch.de> wrote: > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thursday 10 September 2009 20:34:36 Luis R. Rodriguez wrote: > On Thu, Sep 10, 2009 at 11:31 AM, Michael Buesch <mb@bu3sch.de> wrote: > > 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.
Index: wireless-testing/drivers/net/wireless/b43/main.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43/main.c 2009-09-10 20:13:54.000000000 +0200 +++ wireless-testing/drivers/net/wireless/b43/main.c 2009-09-10 20:26:43.000000000 +0200 @@ -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:
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> ---