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