equal
deleted
inserted
replaced
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 ); |