[pulseaudio-discuss] [RFC v0 1/5] bluetooth: Check errors in init_bt

Mikel Astiz mikel.astiz.oss at gmail.com
Thu Jul 5 08:22:49 PDT 2012


Hi Tanu,

On Thu, Jul 5, 2012 at 10:58 AM, Tanu Kaskinen <tanuk at iki.fi> wrote:
> On Wed, 2012-04-11 at 09:00 +0200, Mikel Astiz wrote:
>> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
>>
>> If bluetooth setup fails, the profile should be switched to off.
>
> The job of init_bt() is to connect to the BlueZ socket interface, right?
> I disagree about what should be done in case of failure. I think the
> device module should be unloaded, not just set to the off profile. Or
> are there valid scenarios where the socket connection is temporarily
> unavailable, instead of permanently broken?

I would suggest this patch is ignored, since the socket interface is
deprecated now and about to be removed.

Cheers,
Mikel


More information about the pulseaudio-discuss mailing list