Bluetooth: Introduce HCI_QUIRK_BROKEN_LOCAL_COMMANDS constant
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 26 Dec 2014 03:42:31 +0000 (04:42 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 26 Dec 2014 18:16:10 +0000 (20:16 +0200)
commit711ffa78f4b23e25a6c91cb80be436a48b5e725d
tree2db1a29e869eb1412acf3c0babdbc30e8fe8aae0
parent72e4a6bd02204eed0464d6139439d7e89b94266e
Bluetooth: Introduce HCI_QUIRK_BROKEN_LOCAL_COMMANDS constant

Some controllers advertise support for Bluetooth 1.2 specification,
but they do not support the HCI Read Local Supported Commands command.

If that is the case, then the driver can quirk the behavior and force
the core to skip this command. This will allow removing vendor specific
checks out of the core.

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