aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.c
diff options
context:
space:
mode:
authorWinkler, Tomas <tomas.winkler@intel.com>2009-01-19 18:30:29 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:01:00 -0500
commit62ea9c5b9e531dbf6b2601e6c9e2705a56983b6e (patch)
treee4091a98432c3c28059d79726565ec188f73827d /drivers/net/wireless/iwlwifi/iwl-4965.c
parent805cee5b81f1e493820601fe7990aef935c2c621 (diff)
iwlwifi: remove unused or twice defined members in iwl_priv
This patch removes user_txpower_limit and max_channel_txpower_limit and use tx_power_user_lmt and tx_power_channel_lmt instead call_post_assoc_from_beacon is not used Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 31315decc07d..b2985e25dc83 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -1306,7 +1306,7 @@ static int iwl4965_fill_txpower_tbl(struct iwl_priv *priv, u8 band, u16 channel,
1306 s32 factory_actual_pwr[2]; 1306 s32 factory_actual_pwr[2];
1307 s32 power_index; 1307 s32 power_index;
1308 1308
1309 /* user_txpower_limit is in dBm, convert to half-dBm (half-dB units 1309 /* tx_power_user_lmt is in dBm, convert to half-dBm (half-dB units
1310 * are used for indexing into txpower table) */ 1310 * are used for indexing into txpower table) */
1311 user_target_power = 2 * priv->tx_power_user_lmt; 1311 user_target_power = 2 * priv->tx_power_user_lmt;
1312 1312