diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2016-09-04 05:13:46 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-09-19 20:19:34 +0200 |
commit | baab793225c9badf46309f56982eb1012dbaac80 (patch) | |
tree | 8d13e3f95b6bafd241cf67006bc0e63fcf3adffa /drivers/bluetooth | |
parent | aa1638dde75d00e4f549902017d0df48b77e86ff (diff) | |
download | linux-baab793225c9badf46309f56982eb1012dbaac80.tar.gz linux-baab793225c9badf46309f56982eb1012dbaac80.tar.bz2 linux-baab793225c9badf46309f56982eb1012dbaac80.zip |
Bluetooth: Fix wrong New Settings event when closing HCI User Channel
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@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions