[PATCH] wpa_supplicant: dBus: Flush Sate Property Change

Arowa Suliman arowa at chromium.org
Wed Feb 7 17:02:40 PST 2024

The "State" property in wpa_supplicant helps track important WiFi
connection events (like when the security key is being updated).
Currently, updates to this property aren't always sent right away. This
delay can make it difficult to accurately track the different stages of
the connection process.

This change ensures that any updates to the "State" property are sent
immediately. This will provide a more accurate and real-time view of the
WiFi connection process.

Signed-off-by: Arowa Suliman <arowa at chromium.org>
 wpa_supplicant/dbus/dbus_new.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index 00b38edf5..8db3407e9 100644
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -2327,6 +2327,7 @@ void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
 		prop = "State";
+                flush = TRUE;
 		prop = "CurrentBSS";

More information about the Hostap mailing list