From 4be64276b87240f37bc47b3520cf9ecb6d639879 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 2 Apr 2019 14:06:28 +0200 Subject: [PATCH] nimble/host: Fix build with security disabled --- nimble/host/src/ble_sm_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/src/ble_sm_priv.h b/nimble/host/src/ble_sm_priv.h index b8586e57b..3f64b7786 100644 --- a/nimble/host/src/ble_sm_priv.h +++ b/nimble/host/src/ble_sm_priv.h @@ -414,7 +414,7 @@ int ble_sm_init(void); #define ble_sm_connection_broken(conn_handle) #define ble_sm_pair_initiate(conn_handle) BLE_HS_ENOTSUP #define ble_sm_slave_initiate(conn_handle) BLE_HS_ENOTSUP -#define ble_sm_enc_initiate(conn_handle, ltk, ediv, rand_val, auth) \ +#define ble_sm_enc_initiate(conn_handle, keysize, ltk, ediv, rand_val, auth) \ BLE_HS_ENOTSUP #define ble_sm_init() 0