]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix crash when using AP VLAN interfaces
authorFelix Fietkau <nbd@openwrt.org>
Fri, 8 Nov 2013 16:31:37 +0000 (17:31 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:50:08 +0000 (16:50 +0100)
commitbd996c6fa98670bc8fb2c098b6cefd58272ee62b
treed25c213756c339865e25aba335eb75525c2d789a
parent7afa0ffc0cdb622a8d568276d289d47fa6ba78c4
mac80211: fix crash when using AP VLAN interfaces

Commit "mac80211: implement SMPS for AP" applies to AP_VLAN as well.
It assumes that sta->sdata->vif.bss_conf.bssid is present, which did not
get set for AP_VLAN.
Initialize it to sdata->vif.addr like for other interface types.

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