diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-02-15 16:27:24 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:43 -0500 |
commit | e05eac37946a51efcedcc1b9cddb10af15628902 (patch) | |
tree | 56ab7cdec8ef94515750d78767230c2c22ce8119 /drivers/net | |
parent | c3d72b968129ad4aec86c5fc8d2380f01ebebc53 (diff) |
p54: misplaced parentheses
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/p54/p54common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index 45c2e7ad3ac..fcf43bcae97 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; |