diff options
author | Rajkumar Manoharan <rmanoharan@atheros.com> | 2011-01-31 23:47:45 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-03 16:44:43 -0500 |
commit | b2a5c3dfecf3d0e1db08ac7cd94ee4c1cf9bc998 (patch) | |
tree | e4c078aaba6c40ab795fd97c318ba8bf744e0e3e /drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | |
parent | 5048e8c378d095a548fe8a6ecd2f07d277ac5be2 (diff) | |
download | kernel_samsung_tuna-b2a5c3dfecf3d0e1db08ac7cd94ee4c1cf9bc998.zip kernel_samsung_tuna-b2a5c3dfecf3d0e1db08ac7cd94ee4c1cf9bc998.tar.gz kernel_samsung_tuna-b2a5c3dfecf3d0e1db08ac7cd94ee4c1cf9bc998.tar.bz2 |
ath9k_htc: make use common of function to update txpower
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_gpio.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c index fe70f67..7e630a8 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c @@ -389,7 +389,8 @@ void ath9k_htc_radio_enable(struct ieee80211_hw *hw) ret, ah->curchan->channel); } - ath_update_txpow(priv); + ath9k_cmn_update_txpow(ah, priv->curtxpow, priv->txpowlimit, + &priv->curtxpow); /* Start RX */ WMI_CMD(WMI_START_RECV_CMDID); |