Bluetooth: Skip unconfigured init procedure for raw-only devices
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Jul 2014 11:43:20 +0000 (13:43 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Jul 2014 11:57:49 +0000 (14:57 +0300)
commitcc78b44ba2231d6a92707407cd199b2e05fe3528
tree0a3ba5aed3385af4c6f4cdb2992acc2618fd635a
parent40df783d1ef1989ac454e3dfcda017270b8950e6
Bluetooth: Skip unconfigured init procedure for raw-only devices

When the driver sets HCI_QUIRK_RAW_DEVICE, the controller will be set
as unconfigured. However running the unconfigured init procecure is
not useful since raw-only devices are not allowed to change its
configuration. This change skips the init procedure and just allows
user channel operation for this device.

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