From: Guy Cohen Date: Thu, 24 Apr 2008 00:15:01 +0000 (-0700) Subject: iwlwifi: rs fix wrong parenthesizing in rs_get_lower_rate function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=69fdb3090846de1cdc4fcb4f7e74533f5acbfa98;p=openwrt%2Fstaging%2Fblogic.git iwlwifi: rs fix wrong parenthesizing in rs_get_lower_rate function Signed-off-by: Guy Cohen Signed-off-by: Tomas Winkler Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index 1ad62568558b..469c143297ec 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;