bearermanagement/mpm/src/mpmiapselection.cpp
changeset 2 086aae6fc07e
parent 1 40cb640ef159
child 3 f7816ffc66ed
equal deleted inserted replaced
1:40cb640ef159 2:086aae6fc07e
   503     TConnectionId connId = iSession->ConnectionId();
   503     TConnectionId connId = iSession->ConnectionId();
   504 
   504 
   505     ChooseBestIAPL( iChooseIapPref, availableIAPList, iNextBestExists );
   505     ChooseBestIAPL( iChooseIapPref, availableIAPList, iNextBestExists );
   506     TUint32 validateIapId = iChooseIapPref.IapId();
   506     TUint32 validateIapId = iChooseIapPref.IapId();
   507     // Check if any suitable IAP's were found, if not then complete selection with error code
   507     // Check if any suitable IAP's were found, if not then complete selection with error code
   508     if (validateIapId == 0 )
   508     if ( validateIapId == 0 )
   509         {
   509         {
   510         ChooseIapComplete( KErrNotFound, NULL );
   510         if ( iChooseIapPref.ConnType() == TMpmConnPref::EConnTypeDefault )
       
   511             {
       
   512             ImplicitConnectionL();
       
   513             }
       
   514         else
       
   515             {
       
   516             ChooseIapComplete( KErrNotFound, NULL );
       
   517             }
   511         CleanupStack::PopAndDestroy( &availableIAPList );
   518         CleanupStack::PopAndDestroy( &availableIAPList );
   512         return;
   519         return;
   513         }
   520         }
   514     
   521     
   515     TUint32 retNetId( 0 );
   522     TUint32 retNetId( 0 );