diff -r 77415202bfc8 -r fcbbe021d614 bearermanagement/S60MCPR/src/s60tiermanagerselector.cpp --- a/bearermanagement/S60MCPR/src/s60tiermanagerselector.cpp Tue Feb 02 00:24:11 2010 +0200 +++ b/bearermanagement/S60MCPR/src/s60tiermanagerselector.cpp Fri Apr 16 15:21:37 2010 +0300 @@ -97,6 +97,8 @@ //Legacy Attach -case handling is in NetMCPR and IPProtoTM // 399 Attach is not supported const TConnPref& prefs = iSelectionPrefs.Prefs(); + iSubSessionUniqueId = iSelectionPrefs.SubSessionUniqueId(); + switch ( prefs.ExtensionId() ) { case TConnPref::EConnPrefCommDbMulti: @@ -130,8 +132,8 @@ break; } } - // We do the default behavior. AP is only needed to get proper UIds for TM etc.. - // TODO: change to use AP. + // We use default AP always. If some variation is needed in APs, then + // this must be changed to use specific APs instead of the default one. aSelectionNotify.SelectComplete( this, FindOrCreateProviderL( iDefaultAp )); aSelectionNotify.SelectComplete( this, NULL ); } @@ -164,6 +166,7 @@ // Provision selection preferences to S60 NetMCPR. prov->SetSelectionPrefs( iSelectionPrefs ); + prov->SetSubSessionUniqueId( iSubSessionUniqueId ); // Change the provider info so that this provider is never found by other selections const TProviderInfo& pi = provider->ProviderInfo();