]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Clear HCI_RAW flag when controller becomes configured
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Jul 2014 10:11:16 +0000 (12:11 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Jul 2014 10:42:31 +0000 (13:42 +0300)
commit9093e9b595d85dde3fca977c3faf2b1b577c3cc9
tree6458d7d0dd0de8938c8468d359da50216991e0a9
parenta8c5faab5133002ffcc32441f15b2a546f5f01e5
Bluetooth: Clear HCI_RAW flag when controller becomes configured

When an unconfigured controllers reaches the configured state, it is
important to change the HCI_RAW flag. It indicates to userspace that
the controller is fully operational.

External configuration allows to bring the controller back into an
unconfigured state. In that case make sure HCI_RAW flag is set again.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c