summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-08-23 13:29:23 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-08-28 14:49:38 -0400
commit77843167a926a1b11dff812f027fc56930948c1b (patch)
tree1f380c193582ed6734a59f6c2281b007e83301d4 /drivers/net/wireless/ath/ath9k/ath9k.h
parent4b93fd297fe9914e41099d37194f7acc6a1ccb48 (diff)
ath9k: Fix 'offchannel' in ath_softc
Finally move the 'offchannel' instance in ath_softc inside a CONFIG_ATH9K_CHANNEL_CONTEXT cage. The offchannel usage in ath9k_calculate_iter_data() is closed off with an ifdef for now, since the state/opmode calculation is common for both the channel context mode and the normal mode. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 8767aa7360ca..02664b3c7c52 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -925,6 +925,7 @@ struct ath_softc {
struct ath_gen_timer *p2p_ps_timer;
struct ath_vif *p2p_ps_vif;
struct ath_chanctx_sched sched;
+ struct ath_offchannel offchannel;
#endif
unsigned long driver_data;
@@ -948,7 +949,6 @@ struct ath_softc {
struct ath_chanctx *cur_chan;
struct ath_chanctx *next_chan;
spinlock_t chan_lock;
- struct ath_offchannel offchannel;
#ifdef CONFIG_MAC80211_LEDS
bool led_registered;