]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Set HCI_PAIRABLE during power on for legacy ioctl
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Jul 2014 13:25:22 +0000 (15:25 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Jul 2014 13:37:18 +0000 (16:37 +0300)
commit60c14fd693d5b4cc3e8887ce461135e7d4acac6a
treeb0e9adbec57472507b2087f3cb6fde226df34948
parent3ac1c8ebece70e8a6a78568f8f39d2071d8649c7
Bluetooth: Set HCI_PAIRABLE during power on for legacy ioctl

When the controller is brought up using legacy ioctl, the setting of
the HCI_PAIRABLE flag should happen then. Previously it was set during
enumeration and when retrieving device information.

This change also will not set the HCI_PAIRABLE flag when the controller
is used with the HCI User Channel operation.

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