OSDN Git Service

mt76: mt7663: fix when beacon filter is being applied
authorSean Wang <sean.wang@mediatek.com>
Thu, 4 Mar 2021 13:25:21 +0000 (21:25 +0800)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 22:01:24 +0000 (00:01 +0200)
commit4bec61d9fb9629c21e60cd24a97235ea1f6020ec
treef999ea5d442649753644f970081f0a54ec81e1b3
parentc3800cc2919721640021c00e5845c32c2e7ad24d
mt76: mt7663: fix when beacon filter is being applied

HW beacon filter command is being applied until we're in associated state
because the command would rely on the associated access point's beacon
interval and DTIM information.

Fixes: 7124198ab1a4 ("mt76: mt7615: enable beacon filtering by default for offload fw")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/main.c