mirror of https://github.com/ARMmbed/mbed-os.git
fix wrong advertising set handle being passed to handler
parent
9e509f435b
commit
34c75ffb45
|
@ -2863,7 +2863,7 @@ void Gap::on_advertising_set_started(const mbed::Span<const uint8_t>& handles)
|
||||||
_adv_started_from_refresh.clear(handle);
|
_adv_started_from_refresh.clear(handle);
|
||||||
} else if (_event_handler) {
|
} else if (_event_handler) {
|
||||||
_event_handler->onAdvertisingStart(
|
_event_handler->onAdvertisingStart(
|
||||||
AdvertisingStartEvent(LEGACY_ADVERTISING_HANDLE)
|
AdvertisingStartEvent(handle)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue