We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2b87c6 commit 1081770Copy full SHA for 1081770
connectivity/FEATURE_BLE/source/generic/GapImpl.cpp
@@ -2238,13 +2238,14 @@ void Gap::on_enhanced_connection_complete(
2238
clock_accuracy_t master_clock_accuracy
2239
)
2240
{
2241
+ if (own_role == connection_role_t::CENTRAL) {
2242
+ _initiating = false;
2243
+ }
2244
+
2245
if (!_event_handler) {
2246
return;
2247
}
2248
- if (own_role == connection_role_t::CENTRAL) {
- _initiating = false;
- }
2249
2250
_event_handler->onConnectionComplete(
2251
ConnectionCompleteEvent(
0 commit comments