summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlegacy/iwl-4965.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2011-06-03 22:31:50 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-03 22:31:50 +0400
commit7b29dc21ea084be7ddfb536994a9cfae95337690 (patch)
tree799f5becd9484e53e09b5f620ebfd5315bdfe033 /drivers/net/wireless/iwlegacy/iwl-4965.c
parent9a2e0fb0893ddf595d0a372e681f5b98017c6d90 (diff)
parentdfe21582ac5ebc460dda98c67e8589dd506d02cd (diff)
downloadlinux-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.c2
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) {