aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ctrl_iface.c
diff options
context:
space:
mode:
authorShan Palanisamy <shanp@qca.qualcomm.com>2012-02-16 19:36:48 +0200
committerJouni Malinen <j@w1.fi>2012-02-16 19:36:48 +0200
commit31b79e11973e87ddd4abc2782ad1374fee80f17b (patch)
tree8cf64edff00fa90a8c6db71704ffa698e677f395 /hostapd/ctrl_iface.c
parenta7f5b74d43c1c9b280d9663dd0443d333ad78013 (diff)
downloadexternal_wpa_supplicant_8_ti-31b79e11973e87ddd4abc2782ad1374fee80f17b.zip
external_wpa_supplicant_8_ti-31b79e11973e87ddd4abc2782ad1374fee80f17b.tar.gz
external_wpa_supplicant_8_ti-31b79e11973e87ddd4abc2782ad1374fee80f17b.tar.bz2
hostapd: Allow config parameters to be set through ctrl_iface
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/ctrl_iface.c')
-rw-r--r--hostapd/ctrl_iface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index 9d5a67e..0cbb483 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -31,6 +31,7 @@
#include "ap/ap_drv_ops.h"
#include "wps/wps_defs.h"
#include "wps/wps.h"
+#include "config_file.h"
#include "ctrl_iface.h"
@@ -774,7 +775,7 @@ static int hostapd_ctrl_iface_set(struct hostapd_data *hapd, char *cmd)
wps_testing_dummy_cred);
#endif /* CONFIG_WPS_TESTING */
} else {
- ret = -1;
+ ret = hostapd_set_iface(hapd->iconf, hapd->conf, cmd, value);
}
return ret;