diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-07-04 11:23:33 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-04 14:08:15 -0400 |
commit | eb1904f49d3e11468997e0667e6ec332a66697c9 (patch) | |
tree | 15d50031dbd8245166bebb14ec73fc4b0337ba7a /include/net/bluetooth | |
parent | 42a9bc148960b2c85f9ec5ef1abe3a87e0155c60 (diff) |
Bluetooth: Add quirk for external configuration requirement
When a controller requires external configuration, then setting this
quirk will allow indicating this.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 148b21699446..4f1c4c7e2f00 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -111,6 +111,15 @@ enum { | |||
111 | */ | 111 | */ |
112 | HCI_QUIRK_BROKEN_STORED_LINK_KEY, | 112 | HCI_QUIRK_BROKEN_STORED_LINK_KEY, |
113 | 113 | ||
114 | /* When this quirk is set, an external configuration step | ||
115 | * is required and will be indicated with the controller | ||
116 | * configuation. | ||
117 | * | ||
118 | * This quirk can be set before hci_register_dev is called or | ||
119 | * during the hdev->setup vendor callback. | ||
120 | */ | ||
121 | HCI_QUIRK_EXTERNAL_CONFIG, | ||
122 | |||
114 | /* When this quirk is set, the public Bluetooth address | 123 | /* When this quirk is set, the public Bluetooth address |
115 | * initially reported by HCI Read BD Address command | 124 | * initially reported by HCI Read BD Address command |
116 | * is considered invalid. Controller configuration is | 125 | * is considered invalid. Controller configuration is |