Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Johan Hedberg and committed by
Marcel Holtmann
ddf4ba07 2ceba539

-4
-4
include/net/bluetooth/hci.h
··· 348 348 #define HCI_LK_UNAUTH_COMBINATION_P256 0x07 349 349 #define HCI_LK_AUTH_COMBINATION_P256 0x08 350 350 351 - /* Long Term Key types */ 352 - #define HCI_LTK_UNAUTH 0x00 353 - #define HCI_LTK_AUTH 0x01 354 - 355 351 /* ---- HCI Error Codes ---- */ 356 352 #define HCI_ERROR_AUTH_FAILURE 0x05 357 353 #define HCI_ERROR_MEMORY_EXCEEDED 0x07