From 1f9d84e930d3bae36025848ceddf11b888a0b71e Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 31 May 2016 17:12:48 +0200 Subject: [PATCH] sm: fix transition to calculate local confirm in responder role --- src/ble/sm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ble/sm.c b/src/ble/sm.c index 8cd8b5479..91faf32e9 100644 --- a/src/ble/sm.c +++ b/src/ble/sm.c @@ -1323,7 +1323,7 @@ static void sm_sc_start_calculating_local_confirm(sm_connection_t * sm_conn){ if (sm_passkey_used(setup->sm_stk_generation_method)){ sm_conn->sm_engine_state = SM_SC_W2_GET_RANDOM_A; } else { - sm_conn->sm_engine_state = SM_SC_W4_CMAC_FOR_CONFIRMATION; + sm_conn->sm_engine_state = SM_SC_W2_CMAC_FOR_CONFIRMATION; } }