]> git.ipfire.org Git - thirdparty/hostap.git/commit
wpa_s AP mode: complete only when setup is complete
authorJohannes Berg <johannes.berg@intel.com>
Sat, 19 Mar 2011 11:11:15 +0000 (13:11 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 19 Mar 2011 11:11:15 +0000 (13:11 +0200)
commitc76e5d7f9b7a4ed8c201f280a04e579d52765572
tree861ec83dcf8d3d549c0ad52eb3d1039900090d5f
parentc202f19c682b5f87ba0259bea8449d6667f2e811
wpa_s AP mode: complete only when setup is complete

The AP code might, currently only in the case of HT40, defer actual
enabling to after a scan. In this case, the wpa_s AP code gets confused.
Add a callback for it to use and make it use it to finish only when the
setup has actually completed.

With appropriate hacks in place this allows using HT40 in P2P mode.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
src/ap/hostapd.c
src/ap/hostapd.h
wpa_supplicant/ap.c