--- a/applicationmanagement/server/src/AMSmlHelper.cpp Tue Aug 31 15:05:55 2010 +0300
+++ b/applicationmanagement/server/src/AMSmlHelper.cpp Wed Sep 01 12:31:32 2010 +0100
@@ -15,12 +15,10 @@
*
*/
-
+#include "amsmlhelper.h"
#include <SyncMLClientDM.h>
+#include "debug.h"
#include <rconnmon.h>
-#include "amsmlhelper.h"
-#include "debug.h"
-
#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
#include <es_sock.h>
#else
@@ -212,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 == -2)
+ if (aDefaultIAP <= -1)
{
TInt sockIapid = -1;
@@ -273,6 +273,7 @@
if (uid == KSosServerUid)
{
sockIapid = connInfo().iIapId;
+ RDEBUG_2( "GetDefaultIAPFromDMProfileL::SetIAPL: Set IAP Id value to (%d) ", sockIapid);
}