diff -r f2fc39bc30a5 -r f6aa907032f4 applicationmanagement/server/src/AMSmlHelper.cpp --- a/applicationmanagement/server/src/AMSmlHelper.cpp Wed Apr 14 15:46:55 2010 +0300 +++ b/applicationmanagement/server/src/AMSmlHelper.cpp Tue Apr 27 16:25:00 2010 +0300 @@ -210,11 +210,13 @@ RDEBUG(" 8/8"); aDefaultIAP = num; + + RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", aDefaultIAP); // If there is no default Access point in DM profile then use // currently used access point by DM session - if (aDefaultIAP == -1) + if (aDefaultIAP <= -1) { TInt sockIapid = -1; @@ -271,6 +273,7 @@ if (uid == KSosServerUid) { sockIapid = connInfo().iIapId; + RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", sockIapid); }