wpa_s AP mode: Fix regression in P2P AP mode setup
Commit c76e5d7f9b
moved the
ap_configured_cb() call into a completion callback from AP mode code.
However, this callback can be called before hostap_setup_interface()
returns. In that case, the ap_configured_cb() ended up getting
called before the wpa_supplicant connection information was updated.
Fix this by reordering code to set up everything before calling
hostapd_setup_interface().
master
parent
4378fc14eb
commit
e73edcaa6a
Loading…
Reference in New Issue