ath9k: fix a scheduling while atomic bug in CSA handling
authorFelix Fietkau <nbd@openwrt.org>
Tue, 8 Apr 2014 21:44:26 +0000 (23:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Apr 2014 17:55:55 +0000 (13:55 -0400)
commit5869e795e07ded955744ab99765d0f183f825f97
tree8e2c92c1d37ddf17b40347394d8ad20fc12b7d72
parent09efc56345be4146ab9fc87a55c837ed5d6ea1ab
ath9k: fix a scheduling while atomic bug in CSA handling

Commit "ath9k: prepare for multi-interface CSA support" added a call to
ieee80211_iterate_active_interfaces in atomic context (beacon tasklet),
which is crashing.
Use ieee80211_iterate_active_interfaces_atomic instead.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c