mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
component/bt: set ext adv param failed when stop ext adv
This commit is contained in:
@ -523,10 +523,6 @@ tBTM_STATUS BTM_BleStartExtAdv(BOOLEAN enable, UINT8 num, tBTM_BLE_EXT_ADV *ext_
|
|||||||
end:
|
end:
|
||||||
|
|
||||||
if (!enable && status == BTM_SUCCESS) {
|
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
|
// disable all ext adv
|
||||||
if(num == 0) {
|
if(num == 0) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user