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

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

 



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?

-- 
Tanu



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

  Powered by Linux