]> git.baikalelectronics.ru Git - kernel.git/commit
zd1211rw: Fix beacon filter flags thinko
authorMichael Buesch <mb@bu3sch.de>
Sun, 10 Feb 2008 15:03:55 +0000 (16:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:14 +0000 (15:37 -0500)
commita31245e07d9d7533cf3b22243d767a08f146ffcc
tree5221d89793e56f09820da60420eb3a90abc9399e
parentde873b0c26e7d20d5cb655855f0bec36290d0eff
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>
drivers/net/wireless/zd1211rw/zd_mac.c