]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: Cache BSS information
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 17 Sep 2014 09:15:56 +0000 (14:45 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Sep 2014 21:06:49 +0000 (17:06 -0400)
commitcb35582ab4d742c1be48c4e51712a19fa202e978
tree354b81e73beff0f4f09c46c3235eab5e0f169b3b
parent093ec3c5337434f40d77c1af06c139da3e5ba6dc
ath9k: Cache BSS information

Using the BSS information stored in mac80211 directly
is racy in certain conditions. For example, in a MCC
setup, if the scheduler is switching channels when
a local deauth is issued, calculation of the opmode/bssid
etc. is incorrect. To avoid this, store the bss params
in the driver and use it.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/channel.c
drivers/net/wireless/ath/ath9k/main.c