From e07482504a41bc3988c43780fd6af37443a200d3 Mon Sep 17 00:00:00 2001 From: Yulong Date: Fri, 9 Jun 2017 04:54:56 -0400 Subject: [PATCH] component/bt: Change the btc ESP_BLE_SM_SET_RSP_KEK to ESP_BLE_SM_SET_RSP_KEY --- components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c b/components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c index 06eb0ea8bf..2c2cde37a7 100644 --- a/components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c +++ b/components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c @@ -999,7 +999,7 @@ void btc_gap_ble_call_handler(btc_msg_t *msg) bta_dm_co_ble_set_init_key_req(init_key); break; } - case ESP_BLE_SM_SET_RSP_KEK: { + case ESP_BLE_SM_SET_RSP_KEY: { uint8_t rsp_key = 0; STREAM_TO_UINT8(rsp_key, arg->set_security_param.value); bta_dm_co_ble_set_rsp_key_req(rsp_key);