Skip to content

Commit 34c75ff

Browse files
fix wrong advertising set handle being passed to handler
1 parent 9e509f4 commit 34c75ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectivity/FEATURE_BLE/source/generic/GapImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2863,7 +2863,7 @@ void Gap::on_advertising_set_started(const mbed::Span<const uint8_t>& handles)
28632863
_adv_started_from_refresh.clear(handle);
28642864
} else if (_event_handler) {
28652865
_event_handler->onAdvertisingStart(
2866-
AdvertisingStartEvent(LEGACY_ADVERTISING_HANDLE)
2866+
AdvertisingStartEvent(handle)
28672867
);
28682868
}
28692869
}

0 commit comments

Comments
 (0)