diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-11 16:17:59 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-19 15:49:18 -0400 |
commit | b01459e856cbe9ccf64dde251aec02eae60094ce (patch) | |
tree | bfc13d4cbed08e18f138c492d7b80bca1a43cb63 /drivers/net/wireless/ath/ath9k/mci.c | |
parent | c4dc0d040e356efc0263e0b27181b05f9ef33e5f (diff) | |
download | op-kernel-dev-b01459e856cbe9ccf64dde251aec02eae60094ce.zip op-kernel-dev-b01459e856cbe9ccf64dde251aec02eae60094ce.tar.gz |
ath9k: Move caldata into channel context
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/mci.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mci.c b/drivers/net/wireless/ath/ath9k/mci.c index 313ed99..3f7a11e 100644 --- a/drivers/net/wireless/ath/ath9k/mci.c +++ b/drivers/net/wireless/ath/ath9k/mci.c @@ -706,7 +706,7 @@ void ath9k_mci_set_txpower(struct ath_softc *sc, bool setchannel, return; if (setchannel) { - struct ath9k_hw_cal_data *caldata = &sc->caldata; + struct ath9k_hw_cal_data *caldata = &sc->cur_chan->caldata; if (IS_CHAN_HT40PLUS(ah->curchan) && (ah->curchan->channel > caldata->channel) && (ah->curchan->channel <= caldata->channel + 20)) |