diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-06-03 22:31:50 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-03 22:31:50 +0400 |
commit | 7b29dc21ea084be7ddfb536994a9cfae95337690 (patch) | |
tree | 799f5becd9484e53e09b5f620ebfd5315bdfe033 /drivers/net/wireless/iwlegacy/iwl-4965.c | |
parent | 9a2e0fb0893ddf595d0a372e681f5b98017c6d90 (diff) | |
parent | dfe21582ac5ebc460dda98c67e8589dd506d02cd (diff) | |
download | linux-7b29dc21ea084be7ddfb536994a9cfae95337690.tar.xz |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-4965.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965.c b/drivers/net/wireless/iwlegacy/iwl-4965.c index f5433c74b845..f9db25bb35c3 100644 --- a/drivers/net/wireless/iwlegacy/iwl-4965.c +++ b/drivers/net/wireless/iwlegacy/iwl-4965.c @@ -1543,7 +1543,7 @@ static void iwl4965_temperature_calib(struct iwl_priv *priv) s32 temp; temp = iwl4965_hw_get_temperature(priv); - if (temp < 0) + if (IWL_TX_POWER_TEMPERATURE_OUT_OF_RANGE(temp)) return; if (priv->temperature != temp) { |