projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a15b57
)
mt7601u: set promiscous mode based on FIF_OTHER_BSS
author
Jakub Kicinski
<kubakici@wp.pl>
Tue, 2 Jun 2015 19:11:28 +0000
(21:11 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Mon, 8 Jun 2015 11:28:08 +0000
(14:28 +0300)
Most drivers use FIF_OTHER_BSS to set promiscous mode. Let us
follow their lead even though it doesn't match exactly the HW
filter flags.
Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt7601u/main.c
b/drivers/net/wireless/mediatek/mt7601u/main.c
index
ced82ab
..
169384b
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt7601u/main.c
+++ b/
drivers/net/wireless/mediatek/mt7601u/main.c
@@
-119,6
+119,7
@@
mt76_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags,
dev->rxfilter &= ~MT_RX_FILTR_CFG_OTHER_BSS;
+ MT76_FILTER(OTHER_BSS, MT_RX_FILTR_CFG_PROMISC);
MT76_FILTER(FCSFAIL, MT_RX_FILTR_CFG_CRC_ERR);
MT76_FILTER(PLCPFAIL, MT_RX_FILTR_CFG_PHY_ERR);
MT76_FILTER(CONTROL, MT_RX_FILTR_CFG_ACK |