Bluetooth: host: Remove deprecated security defines

Remove the deprecated security level define and the HCI error
code for authentication failure.
These have been deprecated since the 2.0.0 release.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2021-01-20 16:29:26 +01:00 committed by Anas Nashif
commit 5f2a9ba8e4
3 changed files with 4 additions and 9 deletions

View file

@ -733,13 +733,6 @@ typedef enum __packed {
BT_SECURITY_L3,
/** Level 4: Authenticated Secure Connections and 128-bit key. */
BT_SECURITY_L4,
BT_SECURITY_NONE __deprecated = BT_SECURITY_L0,
BT_SECURITY_LOW __deprecated = BT_SECURITY_L1,
BT_SECURITY_MEDIUM __deprecated = BT_SECURITY_L2,
BT_SECURITY_HIGH __deprecated = BT_SECURITY_L3,
BT_SECURITY_FIPS __deprecated = BT_SECURITY_L4,
/** Bit to force new pairing procedure, bit-wise OR with requested
* security level.
*/

View file

@ -83,8 +83,6 @@ extern "C" {
#define BT_HCI_ERR_OP_CANCELLED_BY_HOST 0x44
#define BT_HCI_ERR_PACKET_TOO_LONG 0x45
#define BT_HCI_ERR_AUTHENTICATION_FAIL __DEPRECATED_MACRO BT_HCI_ERR_AUTH_FAIL
#ifdef __cplusplus
}
#endif