From a840c77d4eacb13dbac8b629f227275482b516ce Mon Sep 17 00:00:00 2001 From: xiewenxiang Date: Thu, 9 Sep 2021 14:30:30 +0800 Subject: [PATCH] component/bt: set ext adv param failed when stop ext adv --- components/bt/host/bluedroid/stack/btm/btm_ble_5_gap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/bt/host/bluedroid/stack/btm/btm_ble_5_gap.c b/components/bt/host/bluedroid/stack/btm/btm_ble_5_gap.c index b5d6491f04..201694250b 100644 --- a/components/bt/host/bluedroid/stack/btm/btm_ble_5_gap.c +++ b/components/bt/host/bluedroid/stack/btm/btm_ble_5_gap.c @@ -523,10 +523,6 @@ tBTM_STATUS BTM_BleStartExtAdv(BOOLEAN enable, UINT8 num, tBTM_BLE_EXT_ADV *ext_ end: if (!enable && status == BTM_SUCCESS) { - // Reset the configure parameters when stop extend adv. - for (int i = 0; i < MAX_BLE_ADV_INSTANCE; i++) { - extend_adv_cb.inst[i].configured = false; - } // disable all ext adv if(num == 0) {