aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-25 15:13:19 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-25 15:13:19 (GMT)
commita6f060d7eca9855e0f7cf4208a0d357267af30ee (patch)
tree4f42ebb354254bbb04f3033d72535fd0bf2efe5e /wpa_supplicant
parente40348080d145b663e286bf0bceacc212792d073 (diff)
downloadhostap-06-a6f060d7eca9855e0f7cf4208a0d357267af30ee.zip
hostap-06-a6f060d7eca9855e0f7cf4208a0d357267af30ee.tar.gz
hostap-06-a6f060d7eca9855e0f7cf4208a0d357267af30ee.tar.bz2
Fixed control interface enabling for dynamically added interface
Set ctrl_interface to non-empty value in INTERFACE_ADD to avoid ctrl_iface.c assuming the control interface is not to be enabled. This fixes the dynamically added interface to use control interface.
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/wpa_gui-qt4/addinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_gui-qt4/addinterface.cpp b/wpa_supplicant/wpa_gui-qt4/addinterface.cpp
index 4d3603a..02fecfe 100644
--- a/wpa_supplicant/wpa_gui-qt4/addinterface.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/addinterface.cpp
@@ -205,7 +205,7 @@ void AddInterface::interfaceSelected(QTreeWidgetItem *sel)
sel->text(1).toAscii().constData(),
"default",
sel->text(0).toAscii().constData(),
- "", "", "");
+ "yes", "", "");
cmd[sizeof(cmd) - 1] = '\0';
ctrl = wpa_ctrl_open(NULL);