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 45c2e7ad3acdfb83e0921ab8428a7aa90de45590..fcf43bcae9794dec27c2b611d4b60fa1a6a061f8 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;