diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-10-12 04:37:24 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-29 15:18:53 -0400 |
commit | 77d848372875d2e4cbdbf07030f0e08cab5e7f4d (patch) | |
tree | 7293640d6e1ead5a4798dc7113c2b2f7082def39 /drivers/net/wireless/ath/ath9k/calib.c | |
parent | db60428b1af11cf216bb0736b24b2cf0c7b54071 (diff) |
ath9k: fill channel mode in caldata
It is useful to have channel mode in caldata to find out
whether operaing channel is in HT40/20 when we are currently
on offchannel. It will be used by BTCOEX to enable/disable
concurrent tx mechanism later.
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c index e5cceb077574..f3448a032e6f 100644 --- a/drivers/net/wireless/ath/ath9k/calib.c +++ b/drivers/net/wireless/ath/ath9k/calib.c | |||
@@ -410,6 +410,7 @@ void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah, | |||
410 | 410 | ||
411 | ah->caldata->channel = chan->channel; | 411 | ah->caldata->channel = chan->channel; |
412 | ah->caldata->channelFlags = chan->channelFlags & ~CHANNEL_CW_INT; | 412 | ah->caldata->channelFlags = chan->channelFlags & ~CHANNEL_CW_INT; |
413 | ah->caldata->chanmode = chan->chanmode; | ||
413 | h = ah->caldata->nfCalHist; | 414 | h = ah->caldata->nfCalHist; |
414 | default_nf = ath9k_hw_get_default_nf(ah, chan); | 415 | default_nf = ath9k_hw_get_default_nf(ah, chan); |
415 | for (i = 0; i < NUM_NF_READINGS; i++) { | 416 | for (i = 0; i < NUM_NF_READINGS; i++) { |