ath6kl: handle concurrent AP-STA channel switches
authorThomas Pedersen <c_tpeder@qca.qualcomm.com>
Fri, 6 Apr 2012 20:35:48 +0000 (13:35 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Apr 2012 06:55:52 +0000 (09:55 +0300)
commitc4f7863eae6f580a0373cbd8dc2731d082570e69
tree7fa45ad56b3cb202a082ccde40a5f29cf53b7498
parentd968370ee7ce22583ab741961f0044d2922aa1a1
ath6kl: handle concurrent AP-STA channel switches

If an ath6kl AP vif is beaconing on one channel, and a STA vif
associates on a different channel, a WMI_DISCONNECT event will be sent
to the AP vif. Make the AP vif follow the STA interface, and notify
userspace.

kvalo: fix a sparse warning with vif->next_chan

Signed-off-by: Thomas Pedersen <c_tpeder@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/cfg80211.h
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/wmi.h