]> git.karo-electronics.de Git - linux-beck.git/commit
ath6kl: fix atomicity in ath6kl_cfg80211_scan_node()
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 21 Jul 2011 07:04:54 +0000 (10:04 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 9 Aug 2011 16:45:22 +0000 (19:45 +0300)
commitcf104c2a207f550d9c3b8f8bcf73cb11765692f6
treed6c011e044a2cf5a85cdbad9ddf6476e4050cc5e
parentb2c76bbe005cd23dfd80fe2140bd18daf4d3b16a
ath6kl: fix atomicity in ath6kl_cfg80211_scan_node()

ath6kl_cfg80211_scan_node() was calling cfg80211_inform_bss_frame()
with CFP_KERNEL but the function is executed with a spin lock taken.
This is wrong and the function must use GFP_ATOMIC instead.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c