From: Jouni Malinen Date: Wed, 31 Dec 2014 21:20:01 +0000 (+0200) Subject: D-Bus: Fix property change timer update X-Git-Tag: hostap_2_4~602 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fbe56b018337f42639ed0895564f8703daf34d4;p=thirdparty%2Fhostap.git 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 --- 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);