]> git.baikalelectronics.ru Git - kernel.git/commit
mt76x2: configure rx filter based on monitor mode setting
authorFelix Fietkau <nbd@nbd.name>
Thu, 14 Dec 2017 15:39:17 +0000 (16:39 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jan 2018 17:25:55 +0000 (19:25 +0200)
commitfd7ac3a9d16344a9103bbb18b53f98431735a895
tree6081cb548fb5fac38a5e875f88b041242583c1f2
parentca4cd20e2c4ab5dba3a3811f49195b44887cf653
mt76x2: configure rx filter based on monitor mode setting

Due to an unrelated issue, the MT_RX_FILTR_CFG_PROMISC flag is currently
unset, which means that monitor mode is unconditionally enabled.
Toggle this flag based on the mac80211 monitor mode setting instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x2_main.c