aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-10-24 17:09:52 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-11-01 18:26:59 -0400
commit6b4b73ee75bd65c4a47b1a323cb7c5180a6d2ea7 (patch)
treea93ce2470fab84aa4be06caacdae092a3224d500 /include/net/bluetooth
parent5ed8eb2f6b5710c09bd1adb40aa795a424e21143 (diff)
Bluetooth: Fix sending unnecessary HCI_Write_SSP_Mode command
This patch fixes sending an unnecessary HCI_Write_SSP_Mode command if the command has already been sent as part of the default HCI init sequence. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 6642b3c91d3..b3490c634db 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -770,6 +770,7 @@ void hci_conn_del_sysfs(struct hci_conn *conn);
770#define lmp_ext_feat_capable(dev) ((dev)->features[7] & LMP_EXTFEATURES) 770#define lmp_ext_feat_capable(dev) ((dev)->features[7] & LMP_EXTFEATURES)
771 771
772/* ----- Extended LMP capabilities ----- */ 772/* ----- Extended LMP capabilities ----- */
773#define lmp_host_ssp_capable(dev) ((dev)->host_features[0] & LMP_HOST_SSP)
773#define lmp_host_le_capable(dev) ((dev)->host_features[0] & LMP_HOST_LE) 774#define lmp_host_le_capable(dev) ((dev)->host_features[0] & LMP_HOST_LE)
774#define lmp_host_le_br_capable(dev) ((dev)->host_features[0] & LMP_HOST_LE_BREDR) 775#define lmp_host_le_br_capable(dev) ((dev)->host_features[0] & LMP_HOST_LE_BREDR)
775 776