From: Roel Kluin <12o3l@tiscali.nl> Date: Sat, 2 Feb 2008 19:48:48 +0000 (+0100) Subject: wireless/iwlwifi/iwl-4965.c: add parentheses X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=194c7ca664065e7671c094c4a7cf32c171426ff4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git wireless/iwlwifi/iwl-4965.c: add parentheses '!' has a higher priority than '&': bitanding has no effect. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index e81120cc45f3..0bded8570275 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c @@ -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; }