Skip to content

Commit b67230c

Browse files
paul-szczepanek-armpan-
authored andcommitted
apply peripheral policy on ll privacy
1 parent ec2808b commit b67230c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

connectivity/FEATURE_BLE/source/generic/GapImpl.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2401,6 +2401,9 @@ void Gap::signal_connection_complete(
24012401
}
24022402
}
24032403
#else
2404+
if (!apply_peripheral_privacy_connection_policy(event)) {
2405+
return;
2406+
}
24042407
report_internal_connection_complete(event);
24052408
_event_handler->onConnectionComplete(event);
24062409
#endif // BLE_FEATURE_PRIVACY && BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION

0 commit comments

Comments
 (0)