--- a/bearermanagement/mpm/src/mpmiapselection.cpp Wed Apr 14 16:22:04 2010 +0300
+++ b/bearermanagement/mpm/src/mpmiapselection.cpp Tue Apr 27 17:03:25 2010 +0300
@@ -131,8 +131,8 @@
iChooseIapPref.SetSnapId( 0 );
}
- MPMLOGSTRING2( "CMPMIapSelection::ChooseIapL: IapID: %i",
- iChooseIapPref.IapId() )
+ MPMLOGSTRING3( "CMPMIapSelection::ChooseIapL: IapID: %i SnapId: %i",
+ iChooseIapPref.IapId(), iChooseIapPref.SnapId() )
// Update WLAN only information and whether new WLAN network usage is allowed.
TBool wlanOnly = iSession->IsWlanOnlyL( iNewWlansAllowed );
@@ -482,7 +482,10 @@
// Check if any suitable IAP's were found, if not then complete selection with error code
if ( validateIapId == 0 )
{
- if ( iChooseIapPref.ConnType() == TMpmConnPref::EConnTypeDefault )
+ if ( iChooseIapPref.ConnType() == TMpmConnPref::EConnTypeDefault ||
+ ( iChooseIapPref.ConnType() == TMpmConnPref::EConnTypeExplicit &&
+ !( iChooseIapPref.NoteBehaviour() & TExtendedConnPref::ENoteBehaviourConnDisableQueries ) &&
+ iCommsDatAccess->IsInternetSnapL( 0, snap ) ) )
{
ImplicitConnectionL();
}