--- a/bluetooth/btstack/linkmgr/physicallinks.cpp Mon Mar 15 12:44:59 2010 +0200
+++ b/bluetooth/btstack/linkmgr/physicallinks.cpp Wed Mar 31 23:19:43 2010 +0300
@@ -818,7 +818,7 @@
if (!aEncrypted)
{
iLinksMan.LinkManagerProtocol().ACLController().SetParked(iHandle, ETrue);
- iEncryptionEnforcer->EncryptionDisabled(SimplePairingMode()== EPhySimplePairingEnabled);
+ iEncryptionEnforcer->EncryptionDisabled(IsEncryptionPauseResumeSupported());
}
else
{
@@ -4162,12 +4162,12 @@
}
}
-void CEncryptionEnforcer::EncryptionDisabled(TBool aSecurityModeFour)
+void CEncryptionEnforcer::EncryptionDisabled(TBool aEncryptionPauseResumeSupported)
{
LOG_FUNC
LOG1(_L("CEncryptionEnforcer::EncryptionDisabled() : current status = %d"), iState);
- if(aSecurityModeFour)
+ if(aEncryptionPauseResumeSupported)
{
Stop();
ChangeState(EForcingInProgress);