Change-Id: Ie49d98ed81e28987b6608892469c94d7469c6862
Name: mobileap-agent
Summary: Mobile AP daemon for setting tethering environments
Name: mobileap-agent
Summary: Mobile AP daemon for setting tethering environments
Release: 1
Group: TO_BE/FILLED_IN
License: Apache-2.0
Release: 1
Group: TO_BE/FILLED_IN
License: Apache-2.0
}
snprintf(sec_buf, HOSTAPD_CONF_LEN,
}
snprintf(sec_buf, HOSTAPD_CONF_LEN,
- "\nwpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s",
+ "wpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\nwps_state=2\neap_server=1",
if (pid == 0) {
if (execl(HOSTAPD_BIN, HOSTAPD_BIN, "-e", HOSTAPD_ENTROPY_FILE,
HOSTAPD_CONF_FILE,
if (pid == 0) {
if (execl(HOSTAPD_BIN, HOSTAPD_BIN, "-e", HOSTAPD_ENTROPY_FILE,
HOSTAPD_CONF_FILE,
- "-f", HOSTAPD_DEBUG_FILE, "-d",
+ "-f", HOSTAPD_DEBUG_FILE, "-dd",
(char *)NULL)) {
ERR("execl failed\n");
}
(char *)NULL)) {
ERR("execl failed\n");
}