linux-kernel-test/drivers/net/wireless/ath/ath9k
Gabor Juhos 96148326c4 ath9k: fix race with IEEE80211_CONF_PS checks
There is a small window where the mac80211 changes the IEEE80211_CONF_PS
flag, and then informs the driver about the change. We have a race
condition if we are checking the flag in the same time. Avoid it by
introducing a local variable, and using that instead of checking the
IEEE80211_CONF_PS flag directly.

This fix the problem reported by Luis:
http://article.gmane.org/gmane.linux.kernel.wireless.general/34363

Changes-licensed-under: ISC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-29 15:46:03 -04:00
..
ahb.c
ani.c ath9k: Tune ANI function processing on AP mode during ANI reset 2009-07-21 12:07:43 -04:00
ani.h
ath9k.h ath9k: fix race with IEEE80211_CONF_PS checks 2009-07-29 15:46:03 -04:00
beacon.c ath9k: Make sure we configure a non-zero beacon interval 2009-07-10 14:57:41 -04:00
calib.c ath9k: Add support for AR9287 based chipsets. 2009-07-27 15:24:19 -04:00
calib.h ath9k: Manipulate and report the correct RSSI 2009-07-24 15:05:17 -04:00
debug.c ath9k: remove permissions from debugfs files 2009-07-10 15:02:26 -04:00
debug.h ath9k: Add "debug" file to debugfs 2009-06-03 14:05:11 -04:00
eeprom.c ath9k: Add support for AR9287 based chipsets. 2009-07-27 15:24:19 -04:00
eeprom.h ath9k: Add support for AR9287 based chipsets. 2009-07-27 15:24:19 -04:00
hw.c ath9k: fix race with IEEE80211_CONF_PS checks 2009-07-29 15:46:03 -04:00
hw.h ath9k: fix race with IEEE80211_CONF_PS checks 2009-07-29 15:46:03 -04:00
initvals.h ath9k: Add init values for AR9287 based chipsets. 2009-07-27 15:24:12 -04:00
Kconfig ath9k: Trivial fix in Kconfig 2009-07-27 15:24:14 -04:00
mac.c ath9k: RX stucks during heavy traffic in HT40 mode. 2009-07-24 15:05:17 -04:00
mac.h
main.c ath9k: fix race with IEEE80211_CONF_PS checks 2009-07-29 15:46:03 -04:00
Makefile
pci.c ath9k: Add support for AR9287 based chipsets. 2009-07-27 15:24:19 -04:00
phy.c
phy.h ath9k: Add support for AR9287 based chipsets. 2009-07-27 15:24:19 -04:00
rc.c ath9k: Nuke struct ath_tx_ratectrl_state 2009-07-24 15:05:17 -04:00
rc.h ath9k: Nuke struct ath_tx_ratectrl_state 2009-07-24 15:05:17 -04:00
recv.c ath9k: Manipulate and report the correct RSSI 2009-07-24 15:05:17 -04:00
reg.h ath9k: Add AR9287 based chipsets' register information. 2009-07-24 15:05:19 -04:00
virtual.c ath9k: disable radio when all devices are marked idle 2009-07-24 15:05:19 -04:00
xmit.c ath9k: Remove a few redundant variables/macros 2009-07-27 15:24:15 -04:00