Remove LL resolving 'shorcut' when adding a device to resolving list - this should be controlled by the GAP layer

pull/6932/head
Donatien Garnier 2018-05-13 17:49:00 +01:00
parent 40b6813dcf
commit 33c46f5658
1 changed files with 1 additions and 4 deletions

View File

@ -777,11 +777,8 @@ struct CordioSecurityManager::PrivacyAddDevToResListControlBlock : CordioSecurit
virtual ~PrivacyAddDevToResListControlBlock() {}
virtual void execute() {
// Check whether we need to enable resolution in LL
bool enable_ll_resolving = !DmLlPrivEnabled();
// Execute command
DmPrivAddDevToResList(_peer_identity_address_type.value(), _peer_identity_address.data(), _peer_irk.data(), DmSecGetLocalIrk(), enable_ll_resolving, 0);
DmPrivAddDevToResList(_peer_identity_address_type.value(), _peer_identity_address.data(), _peer_irk.data(), DmSecGetLocalIrk(), false, 0);
}
private: