fix wrong advertising set handle being passed to handler

pull/13822/head
Paul Szczeanek 2020-10-28 08:42:58 +00:00
parent 9e509f435b
commit 34c75ffb45
1 changed files with 1 additions and 1 deletions

View File

@ -2863,7 +2863,7 @@ void Gap::on_advertising_set_started(const mbed::Span<const uint8_t>& handles)
_adv_started_from_refresh.clear(handle);
} else if (_event_handler) {
_event_handler->onAdvertisingStart(
AdvertisingStartEvent(LEGACY_ADVERTISING_HANDLE)
AdvertisingStartEvent(handle)
);
}
}