mirror of https://github.com/ARMmbed/mbed-os.git
only apply policy if privacy enabled
parent
d4360383e1
commit
5216a9aa8c
|
@ -2401,9 +2401,11 @@ void Gap::signal_connection_complete(
|
|||
}
|
||||
}
|
||||
#else
|
||||
#if BLE_FEATURE_PRIVACY
|
||||
if (!apply_peripheral_privacy_connection_policy(event)) {
|
||||
return;
|
||||
}
|
||||
#endif // BLE_FEATURE_PRIVACY
|
||||
report_internal_connection_complete(event);
|
||||
_event_handler->onConnectionComplete(event);
|
||||
#endif // BLE_FEATURE_PRIVACY && BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION
|
||||
|
|
Loading…
Reference in New Issue