From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934807AbYBBUlY (ORCPT ); Sat, 2 Feb 2008 15:41:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934292AbYBBUko (ORCPT ); Sat, 2 Feb 2008 15:40:44 -0500 Received: from wa-out-1112.google.com ([209.85.146.179]:31226 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934285AbYBBUkk (ORCPT ); Sat, 2 Feb 2008 15:40:40 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QBuk6UTZW4uk/Q3r3gVcDNyxy0f+Gd8CUa3VF/04/O0on+60LjH7pJRC7CEZ2knXIDbNQVKdYdFlT4OhkXvXU5rihKxpJ/eGodrVTc2/cs3wBli+8gwopJJUO2WL4v0bZye/hW6tlwSPjg40p88RkcgOP8AYWHqNF7q+8RoZn+M= Message-ID: <1ba2fa240802021240h56f5f9f7ueb7e0fa3e8524231@mail.gmail.com> Date: Sat, 2 Feb 2008 22:40:37 +0200 From: "Tomas Winkler" To: "Roel Kluin" <12o3l@tiscali.nl> Subject: Re: [PATCH] [wireless/iwlwifi/iwl-4965.c] add parentheses Cc: yi.zhu@intel.com, reinette.chatre@intel.com, linux-wireless@vger.kernel.org, ipw3945-devel@lists.sourceforge.net, lkml , "Ron Rindjunsky" In-Reply-To: <47A4C920.4090202@tiscali.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47A4C920.4090202@tiscali.nl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Feb 2, 2008 9:48 PM, Roel Kluin <12o3l@tiscali.nl> wrote: > '!' has a higher priority than '&': bitanding has no effect. > > Signed-off-by: Roel Kluin <12o3l@tiscali.nl> > --- > diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c > index 569347f..2439868 100644 > --- a/drivers/net/wireless/iwlwifi/iwl-4965.c > +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c > @@ -4589,7 +4589,7 @@ static u8 iwl4965_is_fat_tx_allowed(struct iwl4965_priv *priv, > > if (sta_ht_inf) { > if ((!sta_ht_inf->ht_supported) || > - (!sta_ht_inf->cap & IEEE80211_HT_CAP_SUP_WIDTH)) > + (!(sta_ht_inf->cap & IEEE80211_HT_CAP_SUP_WIDTH))) > return 0; > } > > - > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ACK