linux/net/wireless
Felix Fietkau 46c1dd0c7f 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>
2012-06-20 11:10:43 +02:00
..
.gitignore
chan.c cfg80211: clarify set_channel APIs 2012-06-06 15:18:17 -04:00
core.c cfg80211: make some functions static 2012-06-20 10:56:59 +02:00
core.h cfg80211: make some functions static 2012-06-20 10:56:59 +02:00
db.txt
debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs.h
ethtool.c cfg80211: Add framework to support ethtool stats. 2012-05-08 21:53:49 -04:00
ethtool.h
genregdb.awk
ibss.c cfg80211: use sme_state in ibss start/join path 2012-06-04 15:21:28 -04:00
Kconfig cfg80211: deprecate CFG80211_WEXT 2012-06-05 15:32:15 -04:00
lib80211_crypt_ccmp.c net: Convert net_ratelimit uses to net_<level>_ratelimited 2012-05-15 13:45:03 -04:00
lib80211_crypt_tkip.c net: Convert net_ratelimit uses to net_<level>_ratelimited 2012-05-15 13:45:03 -04:00
lib80211_crypt_wep.c
lib80211.c
Makefile
mesh.c {nl,cfg,mac}80211: implement dot11MeshHWMPconfirmationInterval 2012-06-18 13:55:15 +02:00
mlme.c cfg80211: clarify set_channel APIs 2012-06-06 15:18:17 -04:00
nl80211.c cfg80211: fix regression in multi-vif AP start 2012-06-20 11:10:43 +02:00
nl80211.h cfg80211: add channel switch notify event 2012-04-11 16:23:59 -04:00
radiotap.c
reg.c cfg80211: warn if db.txt is empty with CONFIG_CFG80211_INTERNAL_REGDB 2012-04-09 16:37:11 -04:00
reg.h
regdb.h
scan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2012-05-14 18:00:48 -04:00
sme.c
sysfs.c
sysfs.h
util.c cfg80211: fix interface combinations check 2012-06-05 14:27:30 -04:00
wext-compat.c cfg80211: clarify set_channel APIs 2012-06-06 15:18:17 -04:00
wext-compat.h
wext-core.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
wext-priv.c
wext-proc.c
wext-sme.c cfg80211: clarify set_channel APIs 2012-06-06 15:18:17 -04:00
wext-spy.c wireless: Convert compare_ether_addr to ether_addr_equal 2012-05-09 20:49:19 -04:00