Browse Source

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.
Jouni Malinen 16 years ago
parent
commit
a6f060d7ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wpa_supplicant/wpa_gui-qt4/addinterface.cpp

+ 1 - 1
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);