]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: TO_DS filter depends on intf_ap_count
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 31 Mar 2008 13:24:53 +0000 (15:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Apr 2008 21:14:08 +0000 (17:14 -0400)
commite2fc6e85009045645d18a13be149629de2a27f91
tree0c5c72716cdf76f48be7cc38aa8ae5e86396a47e
parented1a5d0726b2c1e3348970e74475311402619317
rt2x00: TO_DS filter depends on intf_ap_count

The TO_DS filter does not only depend on the FIF_PROMISC_IN_BSS flag
provided by mac80211, but also on the intf_ap_count count.
This makes sense, since when Master mode is active, we should all frames
that are send to the active AP (the device itself).

This means that when an interface is added we should force the
packet filter to be updated during the next mac80211 call of
configure_filter() to make sure the intf_ap_count field is checked.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2x00mac.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c