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)
commit12aa4f0a3d0576c554efc770a6e16c8bb897b966
treeb0e9adbec57472507b2087f3cb6fde226df34948
parent2e84d8db91e45964c2b54ccc7da1f9b4bfb1222b
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