apply peripheral policy on ll privacy

pull/13759/head
Paul Szczeanek 2020-09-28 15:45:53 +01:00 committed by Vincent Coubard
parent ec2808be31
commit b67230cbdb
1 changed files with 3 additions and 0 deletions

View File

@ -2401,6 +2401,9 @@ void Gap::signal_connection_complete(
}
}
#else
if (!apply_peripheral_privacy_connection_policy(event)) {
return;
}
report_internal_connection_complete(event);
_event_handler->onConnectionComplete(event);
#endif // BLE_FEATURE_PRIVACY && BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION