summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-06-16 19:25:15 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 17:42:42 +0200
commit7d5843b7b77cee26bd5e090bfa61780d75957648 (patch)
tree0616eacae3385d5f37aabad9dab6079a1f39adef /include/net/bluetooth/hci.h
parentc29d2444170a4e0709331e357a2738a02666a633 (diff)
downloadlinux-7d5843b7b77cee26bd5e090bfa61780d75957648.tar.gz
linux-7d5843b7b77cee26bd5e090bfa61780d75957648.tar.bz2
linux-7d5843b7b77cee26bd5e090bfa61780d75957648.zip
Bluetooth: Remove unnecessary SMP STK define
We never store the "master" type of STKs since we request encryption directly with them so we only need one STK type (the one that's looked-up on the slave side). Simply remove the unnecessary define and rename the _SLAVE one to the shorter form. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 16587dcd6a91..98f7520d2f57 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -349,7 +349,6 @@ enum {
#define HCI_LK_AUTH_COMBINATION_P256 0x08
/* The spec doesn't define types for SMP keys, the _MASTER suffix is implied */
#define HCI_SMP_STK 0x80
-#define HCI_SMP_STK_SLAVE 0x81
#define HCI_SMP_LTK 0x82
#define HCI_SMP_LTK_SLAVE 0x83