--- a/vpnengine/ikev2lib/src/ikev2pluginsession.cpp Tue Feb 02 00:53:00 2010 +0200
+++ b/vpnengine/ikev2lib/src/ikev2pluginsession.cpp Fri Apr 16 16:02:48 2010 +0300
@@ -273,18 +273,14 @@
void CIkev2PluginSession::DoDeleteIkeSAExhangeL(TIkev2SAData& aIkev2SAdata)
{
DEBUG_LOG1(_L("Deleting IKE SA SAID = %d"), aIkev2SAdata.SaId());
-
- __ASSERT_DEBUG(iFirstNegotiation == NULL, User::Invariant());
-
- CIkev2Negotiation* negotiation = CIkev2Negotiation::NewL(*this, iPfKeySocketIf,
- iEventLogger, *iMessageSendQue,
- iDebug, aIkev2SAdata);
- CleanupStack::PushL(negotiation);
- negotiation->StartIkeSADeleteL();
- CleanupStack::Pop(negotiation);
-
- __ASSERT_DEBUG( !negotiation->Stopped(), User::Invariant() );
-
+
+ CIkev2Negotiation* negotiation = CIkev2Negotiation::NewL(*this, iPfKeySocketIf,
+ iEventLogger, *iMessageSendQue,
+ iDebug, aIkev2SAdata);
+ CleanupStack::PushL(negotiation);
+ negotiation->StartIkeSADeleteL();
+ CleanupStack::Pop(negotiation);
+ __ASSERT_DEBUG( !negotiation->Stopped(), User::Invariant() );
}