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 f126793 commit dee20feCopy full SHA for dee20fe
connectivity/FEATURE_BLE/source/generic/GapImpl.cpp
@@ -1295,9 +1295,7 @@ void Gap::on_connection_complete(const GapConnectionCompleteEvent &e)
1295
return;
1296
}
1297
1298
- // There is no need to check for extending advertising availability as this
1299
- // handler is for 4.x controllers
1300
- if (e.role == connection_role_t::PERIPHERAL) {
+ if (!is_extended_advertising_available() && e.role == connection_role_t::PERIPHERAL) {
1301
_active_sets.clear(LEGACY_ADVERTISING_HANDLE);
1302
1303
0 commit comments