Commit 194c7ca6 authored by Roel Kluin's avatar Roel Kluin Committed by John W. Linville

wireless/iwlwifi/iwl-4965.c: add parentheses

'!' has a higher priority than '&': bitanding has no effect.
Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 38f3714d
...@@ -4249,7 +4249,7 @@ static u8 iwl4965_is_fat_tx_allowed(struct iwl4965_priv *priv, ...@@ -4249,7 +4249,7 @@ static u8 iwl4965_is_fat_tx_allowed(struct iwl4965_priv *priv,
if (sta_ht_inf) { if (sta_ht_inf) {
if ((!sta_ht_inf->ht_supported) || 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; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment