ath9k: prepare for multi-interface CSA support
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 20 Jan 2014 14:27:12 +0000 (15:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:31:48 +0000 (15:31 -0500)
commit4effc6fda7ab2fc10f640601359a63b04ad8f382
tree053e45aed80ca64a774448742200455ef4a10bb8
parent841577c3d33b8a2bff66d1b506d8198b25900bde
ath9k: prepare for multi-interface CSA support

Soon mac80211 will support multi-interface CSA so
using sc->csa_vif is not an option.

Instead just depend on vif->csa_active. Calling
ieee80211_csa_finish() multiple number of times
should not be an issue.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c