Browse Source

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>
Guy Cohen 17 years ago
parent
commit
69fdb30908
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/iwlwifi/iwl-4965-rs.c

+ 1 - 1
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;