diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-02-10 10:03:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:14 -0500 |
commit | 2c1a1b124f793aaf9f6bcb8f6b5d05c29c2db690 (patch) | |
tree | 5221d89793e56f09820da60420eb3a90abc9399e /drivers/net | |
parent | e51c683717e3ac21713444e9a517aa8e0ad0ee48 (diff) |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index 21b653458831..f90f03f676de 100644 --- a/drivers/net/wireless/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zd1211rw/zd_mac.c | |||
@@ -774,7 +774,7 @@ static void set_rx_filter_handler(struct work_struct *work) | |||
774 | 774 | ||
775 | #define SUPPORTED_FIF_FLAGS \ | 775 | #define SUPPORTED_FIF_FLAGS \ |
776 | (FIF_PROMISC_IN_BSS | FIF_ALLMULTI | FIF_FCSFAIL | FIF_CONTROL | \ | 776 | (FIF_PROMISC_IN_BSS | FIF_ALLMULTI | FIF_FCSFAIL | FIF_CONTROL | \ |
777 | FIF_OTHER_BSS) | 777 | FIF_OTHER_BSS | FIF_BCN_PRBRESP_PROMISC) |
778 | static void zd_op_configure_filter(struct ieee80211_hw *hw, | 778 | static void zd_op_configure_filter(struct ieee80211_hw *hw, |
779 | unsigned int changed_flags, | 779 | unsigned int changed_flags, |
780 | unsigned int *new_flags, | 780 | unsigned int *new_flags, |