engine/src/ConnectionEngine.cpp
branchRCL_3
changeset 310 2e0299e13cbf
parent 285 4d42a5e09930
child 368 b131f7696342
--- a/engine/src/ConnectionEngine.cpp	Sat Oct 30 12:36:47 2010 +0100
+++ b/engine/src/ConnectionEngine.cpp	Sat Oct 30 13:52:07 2010 +0100
@@ -56,8 +56,8 @@
 
 void CConnectionEngine::RunL()
 	{
-	DP1("CConnectionEngine::RunL BEGIN, iStatus.Int()=%d", iStatus.Int());
-	if ( iStatus.Int() == KErrNone && iMobility == NULL)
+	DP2("CConnectionEngine::RunL BEGIN, iStatus.Int()=%d, iConnectionState=%d", iStatus.Int(), iConnectionState);
+	if ( iStatus.Int() == KErrNone && iMobility == NULL && iConnectionState == EConnected)
 		{
 		TRAPD(err, iMobility = CActiveCommsMobilityApiExt::NewL( iConnection, *this ));