[pulseaudio-discuss] [PATCH v0] bluetooth: Fix possible adapter duplicates

Tanu Kaskinen tanuk at iki.fi
Sat Feb 16 11:19:32 PST 2013


On Tue, 2013-02-12 at 13:01 +0100, Mikel Astiz wrote:
> @@ -870,6 +874,8 @@ static void list_adapters(pa_bluetooth_discovery *y) {
>      DBusMessage *m;
>      pa_assert(y);
>  
> +    y->adapters_listed = false;

I don't think this is the right place to do this. The adapters become
"unlisted" when we lose connection to bluetoothd, so the right place
would be in the NameOwnerChanged signal handler.

-- 
Tanu



More information about the pulseaudio-discuss mailing list