Skip to content

Commit 53ee0b3

Browse files
Chih-Kang ChangKalle Valo
authored andcommitted
wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
The broadcast packets will be filtered in the FIF_ALLMULTI flag in the original code, which causes beacon packets to be filtered out and disconnection. Therefore, we fix it. Fixes: e303748 ("rtw88: new Realtek 802.11ac driver") Signed-off-by: Chih-Kang Chang <[email protected]> Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent ed4f0c1 commit 53ee0b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/wireless/realtek/rtw88/mac80211.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ static void rtw_ops_configure_filter(struct ieee80211_hw *hw,
280280

281281
if (changed_flags & FIF_ALLMULTI) {
282282
if (*new_flags & FIF_ALLMULTI)
283-
rtwdev->hal.rcr |= BIT_AM | BIT_AB;
283+
rtwdev->hal.rcr |= BIT_AM;
284284
else
285-
rtwdev->hal.rcr &= ~(BIT_AM | BIT_AB);
285+
rtwdev->hal.rcr &= ~(BIT_AM);
286286
}
287287
if (changed_flags & FIF_FCSFAIL) {
288288
if (*new_flags & FIF_FCSFAIL)

0 commit comments

Comments
 (0)