summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-notif-wait.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-23 19:49:03 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-04-24 14:54:28 -0400
commit7e3ed02c6e65a0cb4c9259c0d34740305d9aa5e7 (patch)
tree47a2a239639feaafd89729224d9e26492bb4eccd /drivers/net/wireless/iwlwifi/iwl-notif-wait.h
parent030ef8f8a59c77d44cadeded6d3a5a12557774f4 (diff)
downloadblackbird-op-linux-7e3ed02c6e65a0cb4c9259c0d34740305d9aa5e7.tar.gz
blackbird-op-linux-7e3ed02c6e65a0cb4c9259c0d34740305d9aa5e7.zip
mac80211: fix num_mcast_sta counting issues
Moving a STA to an AP VLAN prevents num_mcast_sta from being decremented once the STA leaves, because sta->sdata changes. Fix this by checking for AP VLANs as well. Also exclude 4-addr VLAN stations from num_mcast_sta - remote 4-addr stations ignore 3-address multicast frames anyway. In a typical bridge configuration they receive the same packets as 4-address unicast. This patch also fixes clearing the sdata->u.vlan.sta pointer when the STA is removed from a 4-addr VLAN. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-notif-wait.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud