diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-06-11 21:46:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-14 12:18:05 -0400 |
commit | 203566f359b5702be72238a8b1d37655c986cc7c (patch) | |
tree | 8686ac5b77f31b4765e60210b731f1b52c888c33 /drivers/net/wireless/iwlwifi/iwl-4965.c | |
parent | 4e39317df0f9e48919130574238319f9a445e6e3 (diff) |
iwlwifi: add possibility to disable tx_power calibration
This patch adds the possibility to disable the tx_power calibration.
In 5000 HW, this calibration is implemented in uCode, hence, it is
disabled in driver by default.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index be6b6ebc6bf..6d249bbd795 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2103,8 +2103,9 @@ void iwl4965_hw_rx_statistics(struct iwl_priv *priv, | |||
2103 | priv->temperature = temp; | 2103 | priv->temperature = temp; |
2104 | set_bit(STATUS_TEMPERATURE, &priv->status); | 2104 | set_bit(STATUS_TEMPERATURE, &priv->status); |
2105 | 2105 | ||
2106 | if (unlikely(!test_bit(STATUS_SCANNING, &priv->status)) && | 2106 | if (!priv->disable_tx_power_cal && |
2107 | iwl4965_is_temp_calib_needed(priv)) | 2107 | unlikely(!test_bit(STATUS_SCANNING, &priv->status)) && |
2108 | iwl4965_is_temp_calib_needed(priv)) | ||
2108 | queue_work(priv->workqueue, &priv->txpower_work); | 2109 | queue_work(priv->workqueue, &priv->txpower_work); |
2109 | } | 2110 | } |
2110 | 2111 | ||