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>
This commit is contained in:
committed by
John W. Linville
parent
c3d72b9681
commit
e05eac3794
@@ -2212,8 +2212,8 @@ static void p54_configure_filter(struct ieee80211_hw *dev,
|
|||||||
|
|
||||||
*total_flags &= FIF_PROMISC_IN_BSS |
|
*total_flags &= FIF_PROMISC_IN_BSS |
|
||||||
FIF_OTHER_BSS |
|
FIF_OTHER_BSS |
|
||||||
(*total_flags & FIF_PROMISC_IN_BSS) ?
|
(*total_flags & FIF_PROMISC_IN_BSS ?
|
||||||
FIF_FCSFAIL : 0;
|
FIF_FCSFAIL : 0);
|
||||||
|
|
||||||
priv->filter_flags = *total_flags;
|
priv->filter_flags = *total_flags;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user