--- a/hotspotfw/hsserver/src/hotspotserver.cpp Tue May 25 13:53:32 2010 +0300
+++ b/hotspotfw/hsserver/src/hotspotserver.cpp Wed Jun 09 10:53:40 2010 +0300
@@ -213,6 +213,10 @@
TBool supportedBearersOnly = ETrue;
TBool legacyCmsOnly = EFalse;
+ // Read Easy WLAN IAP ID first
+ iEasyWlanId = cmManager.EasyWlanIdL();
+ DEBUG1("CHotSpotServer::FindClientIapsL() iEasyWlanId: % d", iEasyWlanId);
+
cmManager.ConnectionMethodL( cmArray, supportedBearersOnly, legacyCmsOnly );
DEBUG1("CHotSpotServer::FindClientIapsL count: %d", cmArray.Count());
@@ -243,11 +247,8 @@
CleanupStack::PopAndDestroy( &cm );
}
CleanupStack::PopAndDestroy( &cmArray );
-
- // Read Easy WLAN IAP ID
- iEasyWlanId = cmManager.EasyWlanIdL();
CleanupStack::PopAndDestroy( &cmManager );
- DEBUG1("CHotSpotServer::FindClientIapsL() iEasyWlanId: % d", iEasyWlanId);
+ DEBUG("CHotSpotServer::FindClientIapsL() Done");
}
// -----------------------------------------------------------------------------