diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-11 06:47:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-19 15:49:16 -0400 |
commit | fbbcd14690d3c42b664740d58a22af50a77d5689 (patch) | |
tree | dac4b77ff8650e2e24ef5c2b42a2ec12e7cc2b95 /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 6437f51ec36af8ef1e3e2659439b35c37e5498e2 (diff) |
ath9k: Add channel context structure
The channel context structure is defined to enable
multi-channel concurrency support.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 9105a92364f7..de5684a33dd7 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -259,7 +259,7 @@ static void ath_edma_start_recv(struct ath_softc *sc) | |||
259 | ath_rx_addbuffer_edma(sc, ATH9K_RX_QUEUE_HP); | 259 | ath_rx_addbuffer_edma(sc, ATH9K_RX_QUEUE_HP); |
260 | ath_rx_addbuffer_edma(sc, ATH9K_RX_QUEUE_LP); | 260 | ath_rx_addbuffer_edma(sc, ATH9K_RX_QUEUE_LP); |
261 | ath_opmode_init(sc); | 261 | ath_opmode_init(sc); |
262 | ath9k_hw_startpcureceive(sc->sc_ah, !!(sc->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)); | 262 | ath9k_hw_startpcureceive(sc->sc_ah, sc->cur_chan->offchannel); |
263 | } | 263 | } |
264 | 264 | ||
265 | static void ath_edma_stop_recv(struct ath_softc *sc) | 265 | static void ath_edma_stop_recv(struct ath_softc *sc) |
@@ -457,7 +457,7 @@ int ath_startrecv(struct ath_softc *sc) | |||
457 | 457 | ||
458 | start_recv: | 458 | start_recv: |
459 | ath_opmode_init(sc); | 459 | ath_opmode_init(sc); |
460 | ath9k_hw_startpcureceive(ah, !!(sc->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)); | 460 | ath9k_hw_startpcureceive(ah, sc->cur_chan->offchannel); |
461 | 461 | ||
462 | return 0; | 462 | return 0; |
463 | } | 463 | } |