applicationmanagement/server/src/AMSmlHelper.cpp
branchRCL_3
changeset 20 f6aa907032f4
parent 0 3ce708148e4d
child 57 6757f1e2efd2
--- 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);
 
                     }