summaryrefslogtreecommitdiff
path: root/net/mac80211/wme.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-19 00:50:57 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2012-06-20 09:10:43 (GMT)
commit46c1dd0c7fac54d3739d62b6362024d9b568c6de (patch)
tree79f89f85ca9f6aff2efa1f7f1aed319ae3c1a51f /net/mac80211/wme.h
parent2bd7e35da011f51d4fdb3b71f888c3a50194bfcd (diff)
downloadlinux-fsl-qoriq-46c1dd0c7fac54d3739d62b6362024d9b568c6de.tar.xz
cfg80211: fix regression in multi-vif AP start
Commit "cfg80211: provide channel to start_ap function" assumes that the channel is always passed to the NL80211_CMD_START_AP command, however in case of multi-BSSID, hostapd only passes the channel for the first vif. This makes starting beaconing on secondary vifs fail with -EINVAL. Fix this by storing the channel provided to .start_ap in wdev->preset_chan and picking the first AP vif's channel for secondary vifs if not provided. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/wme.h')
0 files changed, 0 insertions, 0 deletions