Re: [PATCH] Bluetooth: Fix wrong New Settings event when closing HCI User Channel

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

 



Hi Marcel,

On Sun, Sep 04, 2016, Marcel Holtmann wrote:
> When closing HCI User Channel, the New Settings event was send out to
> inform about changed settings. However such event is wrong since the
> exclusive HCI User Channel access is active until the Index Added event
> has been sent.
> 
> @ USER Close: test
> @ MGMT Event: New Settings (0x0006) plen 4
>         Current settings: 0x00000ad0
>           Bondable
>           Secure Simple Pairing
>           BR/EDR
>           Low Energy
>           Secure Connections
> = Close Index: 00:14:EF:22:04:12
> @ MGMT Event: Index Added (0x0004) plen 0
> 
> Calling __mgmt_power_off from hci_dev_do_close requires an extra check
> for an active HCI User Channel.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  net/bluetooth/hci_core.c | 1 +
>  1 file changed, 1 insertion(+)

Applied to bluetooth-next. Thanks.

Johan
--
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