engine/src/ConnectionEngine.cpp
branchsymbian1
changeset 336 3d6c1417e8bd
parent 284 69385a7c9810
child 354 a2713e6a41a9
--- a/engine/src/ConnectionEngine.cpp	Tue Oct 26 15:58:11 2010 +0100
+++ b/engine/src/ConnectionEngine.cpp	Fri Nov 12 20:48:14 2010 +0000
@@ -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 ));