[PATCH 12/14]: wpa_gui-qt4: trigger update of network lists on disable, enable and remove network events
Kel Modderman
kel
Mon Jan 28 23:21:30 PST 2008
Call triggerupdate() when enabling, disabling or removing a network from
current configuration. These actions may cause an immediate effect
that can be viewed on the Current Status tab, and also ensure the
Enabled/Disabled radio buttons stay in consistent state on the Manage
Networks tab.
Signed-off-by: Kel Modderman <kel at otaku42.de>
---
--- a/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+++ b/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
@@ -759,6 +759,7 @@
}
cmd.prepend("SELECT_NETWORK ");
ctrlRequest(cmd.toAscii().constData(), reply, &reply_len);
+ triggerUpdate();
}
@@ -779,6 +780,7 @@
}
cmd.prepend("ENABLE_NETWORK ");
ctrlRequest(cmd.toAscii().constData(), reply, &reply_len);
+ triggerUpdate();
}
@@ -799,6 +801,7 @@
}
cmd.prepend("DISABLE_NETWORK ");
ctrlRequest(cmd.toAscii().constData(), reply, &reply_len);
+ triggerUpdate();
}
---
More information about the Hostap
mailing list