iwlwifi: rs fix wrong parenthesizing in rs_get_lower_rate function
authorGuy Cohen <guy.cohen@intel.com>
Thu, 24 Apr 2008 00:15:01 +0000 (17:15 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2008 19:02:19 +0000 (15:02 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c

index 1ad6256..469c143 100644 (file)
@@ -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;