ath9k: fix a regression in PS frame filter handling
authorFelix Fietkau <nbd@openwrt.org>
Tue, 10 May 2011 18:52:22 +0000 (20:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 May 2011 18:50:40 +0000 (14:50 -0400)
commitf59a59fea3be78c2bda23cb7f55225b33c502c3c
tree32dda7d1b23412d203f8a48f219dae68a5c7d233
parent858a16529cb4c6434d863740283e0dfeb93cd599
ath9k: fix a regression in PS frame filter handling

Only leave filtering enabled for AP or VLAN interfaces, clear the
destination mask for all other interfaces.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Ben Greear <greearb@candelatech.com>
Tested-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/xmit.c