diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-08-23 03:59:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-08-28 14:49:37 -0400 |
commit | e90e302a15b85ed27bdc148be2eed50c8aaaee06 (patch) | |
tree | d1bc206388ca18341fae536201098d5748a78f2a /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 0e08b5fb81111662bf9fa5f67f8a412791923b6f (diff) |
ath9k: Add ath9k_offchannel_init
This patch adds a routine to setup the offchannel
instance in ath_softc.
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 892ca4af75ef..5b8bc5dd007e 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -423,6 +423,7 @@ void ath_chanctx_check_active(struct ath_softc *sc, struct ath_chanctx *ctx); | |||
423 | bool ath9k_is_chanctx_enabled(void); | 423 | bool ath9k_is_chanctx_enabled(void); |
424 | void ath9k_fill_chanctx_ops(void); | 424 | void ath9k_fill_chanctx_ops(void); |
425 | void ath9k_init_channel_context(struct ath_softc *sc); | 425 | void ath9k_init_channel_context(struct ath_softc *sc); |
426 | void ath9k_offchannel_init(struct ath_softc *sc); | ||
426 | void ath9k_deinit_channel_context(struct ath_softc *sc); | 427 | void ath9k_deinit_channel_context(struct ath_softc *sc); |
427 | int ath9k_init_p2p(struct ath_softc *sc); | 428 | int ath9k_init_p2p(struct ath_softc *sc); |
428 | void ath9k_deinit_p2p(struct ath_softc *sc); | 429 | void ath9k_deinit_p2p(struct ath_softc *sc); |
@@ -455,6 +456,9 @@ static inline void ath9k_fill_chanctx_ops(void) | |||
455 | static inline void ath9k_init_channel_context(struct ath_softc *sc) | 456 | static inline void ath9k_init_channel_context(struct ath_softc *sc) |
456 | { | 457 | { |
457 | } | 458 | } |
459 | static inline void ath9k_offchannel_init(struct ath_softc *sc) | ||
460 | { | ||
461 | } | ||
458 | static inline void ath9k_deinit_channel_context(struct ath_softc *sc) | 462 | static inline void ath9k_deinit_channel_context(struct ath_softc *sc) |
459 | { | 463 | { |
460 | } | 464 | } |