p54: misplaced parentheses
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 15 Feb 2009 15:27:24 +0000 (16:27 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:43 +0000 (14:52 -0500)
Only FIF_FCSFAIL is set due to parentheses

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c

index 45c2e7a..fcf43bc 100644 (file)
@@ -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;