linux-kernel-test/drivers/net/wireless
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
..
ath ath9k: fix race with IEEE80211_CONF_PS checks 2009-07-29 15:46:03 -04:00
b43 wireless: remove print_mac uses 2009-07-24 15:05:19 -04:00
b43legacy mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
hostap hostap_cs: Enable shared interrupts 2009-07-24 15:05:19 -04:00
ipw2x00 drivers/net: Drop unnecessary NULL test 2009-07-24 15:05:12 -04:00
iwlwifi iwlagn: fix sparse warning when compiling without debug 2009-07-29 15:45:54 -04:00
iwmc3200wifi imwc3200: move iwmc3200 SDIO ids to sdio_ids.h 2009-07-26 19:25:47 -07:00
libertas wireless: remove print_mac uses 2009-07-24 15:05:19 -04:00
libertas_tf mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
orinoco Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-16 20:21:24 -07:00
p54 mac80211: fix PS-poll response, race 2009-07-27 15:24:19 -04:00
prism54 drivers/net/wireless: Use PCI_VDEVICE 2009-07-10 15:02:25 -04:00
rt2x00 rt2x00: Don't alter rt2x00dev->default_ant 2009-07-27 15:24:08 -04:00
rtl818x Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-23 19:03:51 -07:00
wl12xx wl1251: remove wl1251_plt_start/stop() 2009-07-24 15:05:29 -04:00
zd1211rw zd1211rw: adding Accton Technology Corp (083a:e501) as a ZD1211B device 2009-07-24 15:05:13 -04:00
adm8211.c adm8211: remove uneeded code during suspend/resume 2009-07-24 15:05:30 -04:00
adm8211.h
airo_cs.c
airo.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
airo.h
arlan-main.c arlan: inverted logic? 2009-07-24 15:05:27 -04:00
arlan-proc.c
arlan.h
at76c50x-usb.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
atmel.h
i82586.h
i82593.h
Kconfig rtl8187: updating Kconfig with info of branded devices 2009-07-24 15:05:14 -04:00
mac80211_hwsim.c wireless: remove print_mac uses 2009-07-24 15:05:19 -04:00
Makefile
mwl8k.c wireless: remove print_mac uses 2009-07-24 15:05:19 -04:00
netwave_cs.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ray_cs.c ray_cs: remove bogus NULL check at head of ray_get_wireless_stats 2009-07-29 15:45:59 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: convert set/get txpower to cfg80211 2009-07-10 14:57:53 -04:00
strip.c Revert "NET: Fix locking issues in PPP, 6pack, mkiss and strip line disciplines." 2009-07-14 13:13:41 -07:00
wavelan_cs.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
wavelan_cs.h
wavelan_cs.p.h
wavelan.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
wavelan.h
wavelan.p.h
wl3501_cs.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
wl3501.h
zd1201.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
zd1201.h