bearermanagement/S60MCPR/src/s60tiermanagerselector.cpp
branchRCL_3
changeset 8 2e6c4614c58e
parent 0 5a93021fdf25
child 12 ea6e024ea6f9
equal deleted inserted replaced
4:77415202bfc8 8:2e6c4614c58e
    95     __CFLOG_VAR((KS60TierMgrTag, KS60TierMgrSubTag, _L8("S60MCPR::CSimpleS60SelectorBase %08x::\tSelectL() Using Default AP:%d"),this,iDefaultAp));
    95     __CFLOG_VAR((KS60TierMgrTag, KS60TierMgrSubTag, _L8("S60MCPR::CSimpleS60SelectorBase %08x::\tSelectL() Using Default AP:%d"),this,iDefaultAp));
    96 
    96 
    97     //Legacy Attach -case handling is in NetMCPR and IPProtoTM
    97     //Legacy Attach -case handling is in NetMCPR and IPProtoTM
    98     // 399 Attach is not supported
    98     // 399 Attach is not supported
    99     const TConnPref& prefs = iSelectionPrefs.Prefs();
    99     const TConnPref& prefs = iSelectionPrefs.Prefs();
       
   100     iSubSessionUniqueId = iSelectionPrefs.SubSessionUniqueId();
       
   101     
   100     switch ( prefs.ExtensionId() )
   102     switch ( prefs.ExtensionId() )
   101         {
   103         {
   102         case TConnPref::EConnPrefCommDbMulti:
   104         case TConnPref::EConnPrefCommDbMulti:
   103             {
   105             {
   104             // Sanity check.
   106             // Sanity check.
   162     
   164     
   163     CleanupStack::PushL( provider );
   165     CleanupStack::PushL( provider );
   164     
   166     
   165     // Provision selection preferences to S60 NetMCPR.
   167     // Provision selection preferences to S60 NetMCPR.
   166     prov->SetSelectionPrefs( iSelectionPrefs );
   168     prov->SetSelectionPrefs( iSelectionPrefs );
       
   169     prov->SetSubSessionUniqueId( iSubSessionUniqueId );
   167 
   170 
   168     // Change the provider info so that this provider is never found by other selections
   171     // Change the provider info so that this provider is never found by other selections
   169     const TProviderInfo& pi = provider->ProviderInfo();
   172     const TProviderInfo& pi = provider->ProviderInfo();
   170     provider->SetProviderInfo( TProviderInfo( pi.TierId(), pi.APId(), provider )); //This provider will never be found
   173     provider->SetProviderInfo( TProviderInfo( pi.TierId(), pi.APId(), provider )); //This provider will never be found
   171     
   174