diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-11 16:17:50 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-19 15:49:16 -0400 |
commit | bc7e1be70c9f1c6de622aa14baa62003342034bb (patch) | |
tree | c8de885ee9b323c460c31f1fb14ebf59ecd927af /drivers/net/wireless/ath/ath9k/channel.c | |
parent | fbbcd14690d3c42b664740d58a22af50a77d5689 (diff) | |
download | talos-op-linux-bc7e1be70c9f1c6de622aa14baa62003342034bb.tar.gz talos-op-linux-bc7e1be70c9f1c6de622aa14baa62003342034bb.zip |
ath9k: Move txpower limit to 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/channel.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index aee6cdb4975b..1b40cf5aa955 100644 --- a/drivers/net/wireless/ath/ath9k/channel.c +++ b/drivers/net/wireless/ath/ath9k/channel.c @@ -118,6 +118,7 @@ void ath_chanctx_init(struct ath_softc *sc) ctx = &sc->chanctx[i]; cfg80211_chandef_create(&ctx->chandef, chan, NL80211_CHAN_HT20); INIT_LIST_HEAD(&ctx->vifs); + ctx->txpower = ATH_TXPOWER_MAX; } sc->cur_chan = &sc->chanctx[0]; } |