From 05c8753eaa71815b103ada60f798eea1e4491ab0 Mon Sep 17 00:00:00 2001 From: zwj Date: Tue, 6 Sep 2022 19:55:11 +0800 Subject: [PATCH] Fixed extend adv set remove failed --- components/bt/host/bluedroid/bta/dm/bta_dm_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bt/host/bluedroid/bta/dm/bta_dm_api.c b/components/bt/host/bluedroid/bta/dm/bta_dm_api.c index acf93b585d..5507839f6f 100644 --- a/components/bt/host/bluedroid/bta/dm/bta_dm_api.c +++ b/components/bt/host/bluedroid/bta/dm/bta_dm_api.c @@ -2820,6 +2820,7 @@ void BTA_DmBleGapExtAdvSetRemove(UINT8 instance) if ((p_msg = (tBTA_DM_API_BLE_EXT_ADV_SET_REMOVE *) osi_malloc(sizeof(tBTA_DM_API_BLE_EXT_ADV_SET_REMOVE))) != NULL) { memset(p_msg, 0, sizeof(tBTA_DM_API_BLE_EXT_ADV_SET_REMOVE)); p_msg->hdr.event = BTA_DM_API_EXT_ADV_SET_REMOVE_EVT; + p_msg->instance = instance; //start sent the msg to the bta system control moudle bta_sys_sendmsg(p_msg); } else {