提交 e05eac37 编写于 作者: R Roel Kluin 提交者: John W. Linville

p54: misplaced parentheses

Only FIF_FCSFAIL is set due to parentheses
Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 c3d72b96
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册