aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Cohen <guy.cohen@intel.com>2008-04-23 17:15:01 -0700
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:19 -0400
commit69fdb3090846de1cdc4fcb4f7e74533f5acbfa98 (patch)
tree30efdff4e5d640237edc7f46f7e9f1158ff99376
parent3195cdb7424b4207f6903f1f3ddadcab49fa22f2 (diff)
iwlwifi: rs fix wrong parenthesizing in rs_get_lower_rate function
Signed-off-by: Guy Cohen <guy.cohen@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-rs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
index 1ad62568558..469c143297e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
@@ -735,7 +735,7 @@ static u32 rs_get_lower_rate(struct iwl4965_lq_sta *lq_sta,
else
tbl->lq_type = LQ_G;
- if (num_of_ant(tbl->ant_type > 1))
+ if (num_of_ant(tbl->ant_type) > 1)
tbl->ant_type = ANT_A;/*FIXME:RS*/
tbl->is_fat = 0;