bearermanagement/mpm/src/mpmwlanquerydialog.cpp
branchRCL_3
changeset 45 4c83dcfb6f1a
parent 17 c14618f9de99
--- a/bearermanagement/mpm/src/mpmwlanquerydialog.cpp	Wed Jun 09 10:07:12 2010 +0300
+++ b/bearermanagement/mpm/src/mpmwlanquerydialog.cpp	Mon Jun 21 16:06:29 2010 +0300
@@ -495,8 +495,9 @@
         }
     // if easy wlan iap and easy wlan is not already started
     // 
-    else if( iIapSelection.Session()->MyServer().CommsDatAccess()->CheckEasyWLanL( iWlanIapId )  && 
-             !iIapSelection.Session()->MyServer().CheckIfStarted( iWlanIapId, iIapSelection.Session()->ConnectionId() ) &&
+    else if( iIapSelection.Session()->MyServer().CommsDatAccess()->CheckEasyWLanL( iWlanIapId ) && 
+             iIapSelection.Session()->MyServer().CheckUsageOfIap(
+                     iWlanIapId, iIapSelection.Session()->ConnectionId() ) != EStarted &&
              iNetworkPrefs().iSsId.Length() == 0 &&
              iOverrideStatus == KErrNone )
         {