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

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

 



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


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

  Powered by Linux