Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e05eac37 authored by Roel Kluin's avatar Roel Kluin Committed by John W. Linville
Browse files

p54: misplaced parentheses



Only FIF_FCSFAIL is set due to parentheses

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c3d72b96
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;