Skip to content

Commit

Permalink
p54: misplaced parentheses
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and John W. Linville committed Feb 27, 2009
1 parent c3d72b9 commit e05eac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/p54/p54common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e05eac3

Please sign in to comment.