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/main.c | |
parent | c4dc0d040e356efc0263e0b27181b05f9ef33e5f (diff) | |
download | lwn-b01459e856cbe9ccf64dde251aec02eae60094ce.tar.gz lwn-b01459e856cbe9ccf64dde251aec02eae60094ce.zip |
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/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 92bf9079184f..85db24be8eec 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -279,7 +279,7 @@ int ath_reset_internal(struct ath_softc *sc, struct ath9k_channel *hchan) if (!sc->cur_chan->offchannel) { fastcc = false; - caldata = &sc->caldata; + caldata = &sc->cur_chan->caldata; } if (!hchan) { |