On Sun, Sep 29, 2013 at 9:56 AM, Tanu Kaskinen <[email protected]> wrote: > On Tue, 2013-09-24 at 19:45 -0300, [email protected] wrote: >> @@ -745,6 +748,15 @@ static void >> parse_interfaces_and_properties(pa_bluetooth_discovery *y, DBusMessa >> dbus_message_iter_next(&element_i); >> } >> >> + PA_HASHMAP_FOREACH(d, y->devices, state) >> + if (!d->adapter && d->adapter_path) { >> + d->adapter = pa_hashmap_get(d->discovery->adapters, >> d->adapter_path); >> + if (!d->adapter) { >> + pa_log_error("Device %s is child of nonexistent adapter >> %s", d->path, d->adapter_path); >> + d->device_info_valid = -1; >> + } >> + } > > As discussed, the DEVICE_CONNECTION_CHANGED hook should be fired after > parsing the device properties (I'm mentioning this just to make sure > that I remember to check this in v6). >
FTR: It has been agreed to fire the hook in this case. -- João Paulo Rechi Vita http://about.me/jprvita _______________________________________________ pulseaudio-discuss mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
