OpenCloudOS-Kernel/drivers/net/wireless/b43legacy
Larry Finger c1be515286 b43legacy: Work around mac80211 race condition
As shown in http://thread.gmane.org/gmane.linux.kernel.wireless.general/36497,
mac80211 has a bug that allows a call to the TX routine after the queues have
been stopped. This situation will only occur under extreme stress. Although
b43legacy does not crash when this condition occurs, it does generate a WARN_ON
and also logs a queue overrun message. This patch recognizes b43legacy is not
at fault and logs a message only when the most verbose debugging mode is
enabled. In the unlikely event that the queue is not stopped when the DMA
queue becomes full, then a warning is issued.

This patch is based on the one used by b43.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-04 16:44:24 -04:00
..
Kconfig b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
Makefile b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
b43legacy.h b43/b43legacy: fix radio LED initialization 2009-07-07 12:55:26 -04:00
debugfs.c b43legacy: Fix sparse warnings 2008-12-12 14:02:08 -05:00
debugfs.h
dma.c b43legacy: Work around mac80211 race condition 2009-08-04 16:44:24 -04:00
dma.h
ilt.c
ilt.h
leds.c b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
leds.h
main.c mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
main.h
phy.c b43legacy: Fix sparse warnings 2008-12-12 14:02:08 -05:00
phy.h
pio.c b43legacy: Remove unnecessary MMIO in interrupt hotpath 2009-05-20 14:46:26 -04:00
pio.h
radio.c
radio.h
rfkill.c b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
rfkill.h b43/legacy: port to cfg80211 rfkill 2009-06-10 13:27:54 -04:00
sysfs.c
sysfs.h
xmit.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
xmit.h b43legacy: Clean up beacon IRQ 2009-04-22 16:54:45 -04:00