wireless/iwlwifi/iwl-4965.c: add parentheses
authorRoel Kluin <12o3l@tiscali.nl>
Sat, 2 Feb 2008 19:48:48 +0000 (20:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:22 +0000 (15:19 -0500)
'!' has a higher priority than '&': bitanding has no effect.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965.c

index e81120cc45f3f7c6e548141ddfac1e1ee5f6eda4..0bded8570275aa8140aa672da12e1577262f8029 100644 (file)
@@ -4249,7 +4249,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;
        }