Use null pointer as the caller argument for supplicant_dbus_property_get_all(), as the wifi plugin does not have the pointer to the interface struct until interface_create_callback() is called, and thus can't use it for D-Bus call cancellation until then. --- gsupplicant/supplicant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index b5e3930..93a9a6a 100644 --- a/gsupplicant/supplicant.c +++ b/gsupplicant/supplicant.c @@ -3393,7 +3393,7 @@ static void interface_create_result(const char *error, err = supplicant_dbus_property_get_all(path, SUPPLICANT_INTERFACE ".Interface", interface_create_property, data, - data->interface); + NULL); if (err == 0) return; -- 1.9.1 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman