Skip to content

Commit ddf4ba0

Browse files
jhedbergholtmann
authored andcommitted
Bluetooth: Remove unused LTK authentication defines
These defines were probably put in to track authenticated vs unauthenticated LTKs, however since the LTK struct has a separate boolean authenticated member these were never used. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
1 parent 2ceba53 commit ddf4ba0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • include/net/bluetooth

‎include/net/bluetooth/hci.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,6 @@ enum {
348348
#define HCI_LK_UNAUTH_COMBINATION_P256 0x07
349349
#define HCI_LK_AUTH_COMBINATION_P256 0x08
350350

351-
/* Long Term Key types */
352-
#define HCI_LTK_UNAUTH 0x00
353-
#define HCI_LTK_AUTH 0x01
354-
355351
/* ---- HCI Error Codes ---- */
356352
#define HCI_ERROR_AUTH_FAILURE 0x05
357353
#define HCI_ERROR_MEMORY_EXCEEDED 0x07

0 commit comments

Comments
 (0)