mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
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
@ -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…
x
Reference in New Issue
Block a user