From 7fbe56b018337f42639ed0895564f8703daf34d4 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 31 Dec 2014 23:20:01 +0200 Subject: [PATCH] D-Bus: Fix property change timer update eloop_is_timeout_registered() was called with incorrect context argument which meant that the pending timeout would have never been found. Signed-off-by: Jouni Malinen --- wpa_supplicant/dbus/dbus_new_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/dbus/dbus_new_helpers.c b/wpa_supplicant/dbus/dbus_new_helpers.c index 8df7ac1f8..37516e655 100644 --- a/wpa_supplicant/dbus/dbus_new_helpers.c +++ b/wpa_supplicant/dbus/dbus_new_helpers.c @@ -904,7 +904,7 @@ void wpa_dbus_mark_property_changed(struct wpas_dbus_priv *iface, } if (!eloop_is_timeout_registered(flush_object_timeout_handler, - iface->con, obj_desc->path)) { + iface->con, obj_desc)) { eloop_register_timeout(0, WPA_DBUS_SEND_PROP_CHANGED_TIMEOUT, flush_object_timeout_handler, iface->con, obj_desc);