From: Roel Kluin Date: Sun, 15 Feb 2009 15:27:24 +0000 (+0100) Subject: p54: misplaced parentheses X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e05eac37946a51efcedcc1b9cddb10af15628902;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git p54: misplaced parentheses Only FIF_FCSFAIL is set due to parentheses Signed-off-by: Roel Kluin Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index 45c2e7ad3acd..fcf43bcae979 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c @@ -2212,8 +2212,8 @@ static void p54_configure_filter(struct ieee80211_hw *dev, *total_flags &= FIF_PROMISC_IN_BSS | FIF_OTHER_BSS | - (*total_flags & FIF_PROMISC_IN_BSS) ? - FIF_FCSFAIL : 0; + (*total_flags & FIF_PROMISC_IN_BSS ? + FIF_FCSFAIL : 0); priv->filter_flags = *total_flags;