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.
This commit is contained in:
parent
e40348080d
commit
a6f060d7ec
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue