diff options
author | Ben Greear <greearb@candelatech.com> | 2011-02-07 16:44:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-09 16:09:47 -0500 |
commit | 603b3eefb92e0886ed4dd5f73d4c07b304405b40 (patch) | |
tree | 34a7236f8e8d1ad66907f8ecef68e177eea7b944 /drivers/net/wireless/ath/ath9k/main.c | |
parent | da2fd1f0f7b78f21f6378f726d1f6de9d573b2d4 (diff) |
ath9k: Add debug info for configuring power level.
Signed-off-by: Ben Greear <greearb@candelatech.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, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index d998aabf39ac..12e0ac688274 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1726,6 +1726,8 @@ static int ath9k_config(struct ieee80211_hw *hw, u32 changed) | |||
1726 | } | 1726 | } |
1727 | 1727 | ||
1728 | if (changed & IEEE80211_CONF_CHANGE_POWER) { | 1728 | if (changed & IEEE80211_CONF_CHANGE_POWER) { |
1729 | ath_dbg(common, ATH_DBG_CONFIG, | ||
1730 | "Set power: %d\n", conf->power_level); | ||
1729 | sc->config.txpowlimit = 2 * conf->power_level; | 1731 | sc->config.txpowlimit = 2 * conf->power_level; |
1730 | ath9k_ps_wakeup(sc); | 1732 | ath9k_ps_wakeup(sc); |
1731 | ath9k_cmn_update_txpow(ah, sc->curtxpow, | 1733 | ath9k_cmn_update_txpow(ah, sc->curtxpow, |