zd1211rw: Fix beacon filter flags thinko
We must not clear the FIF_BCN_PRBRESP_PROMISC bit in the new_flags. The zd-driver does support sending beacons and probe responses to the host. What the flag does is say "Send me all beacons and probe responses". And we actually do that. We always do that, so we ignore the case when the bit is disabled. But that is fine. But we must not clear the flag, as that tells mac80211 that we do not support passing beacons and probe responses to the stack. And that's not true. Signed-off-by: Michael Buesch <mb@bu3sch.de> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
e51c683717
commit
2c1a1b124f
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ static void set_rx_filter_handler(struct work_struct *work)
|
|||
|
||||
#define SUPPORTED_FIF_FLAGS \
|
||||
(FIF_PROMISC_IN_BSS | FIF_ALLMULTI | FIF_FCSFAIL | FIF_CONTROL | \
|
||||
FIF_OTHER_BSS)
|
||||
FIF_OTHER_BSS | FIF_BCN_PRBRESP_PROMISC)
|
||||
static void zd_op_configure_filter(struct ieee80211_hw *hw,
|
||||
unsigned int changed_flags,
|
||||
unsigned int *new_flags,
|
||||
|
|
Loading…
Reference in a new issue