mac80211: fix smps mode check for AP_VLAN
authorFelix Fietkau <nbd@openwrt.org>
Fri, 25 Jul 2014 14:20:23 +0000 (16:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 26 Aug 2014 09:12:44 +0000 (11:12 +0200)
commit3918edb0e6a8b16c2866f4657d9fed41f9da562d
tree1754c9b32a2cf028b569a434e76dcf4c3ad6421f
parent0e67c13667a72093aa3ef3cb54dd521e34e500fc
mac80211: fix smps mode check for AP_VLAN

In ieee80211_sta_ps_deliver_wakeup, sdata->smps_mode is checked. This is
initialized only for the base AP interface, not the individual VLANs.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c