[PATCH v0] bluetooth: Fix possible adapter duplicates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux