Re: [PATCH] Bluetooth: Fix mgmt handling of power on failures

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

 



Hi Gustavo,

>> If hci_dev_open fails we need to ensure that the corresponding
>> mgmt_set_powered command gets an appropriate response. This patch fixes
>> the missing response by adding a new mgmt_set_powered_failed function
>> that's used to indicate a power on failure to mgmt.
>> 
>> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
>> ---
>> include/net/bluetooth/hci_core.h |    1 +
>> net/bluetooth/hci_core.c         |    6 +++++-
>> net/bluetooth/mgmt.c             |   16 ++++++++++++++++
>> 3 files changed, 22 insertions(+), 1 deletion(-)
> 
> Patch has been applied to bluetooth.git. Thanks.

I rather have this fixed properly with a new error for specifically ERFKILL. Having one stable kernel return rejected and another rfkill is a bad idea.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux