rtp/rtpstack/src/rtpmanager.cpp
branchRCL_3
changeset 56 2c7192069824
parent 44 0dcb073356a5
--- a/rtp/rtpstack/src/rtpmanager.cpp	Wed Sep 15 12:36:02 2010 +0300
+++ b/rtp/rtpstack/src/rtpmanager.cpp	Wed Oct 13 14:57:13 2010 +0300
@@ -228,20 +228,17 @@
 // TInt CRtpManager::PrepareConnection()
 // ---------------------------------------------------------------------------
 //
-TInt CRtpManager::PrepareConnection( TCommDbConnPref& aPrefs, TInt aIapId )
+TInt CRtpManager::PrepareConnection( TConnPrefList& aPrefs, TInt aIapId )
     {
     RTP_DEBUG_DETAIL( "CRtpManager::PrepareConnection"  );
     
     TInt err( KErrCouldNotConnect );
 
     if ( aIapId != KUseDefaultIap )
-        {
-	    aPrefs.SetDialogPreference( ECommDbDialogPrefDoNotPrompt );
-        aPrefs.SetIapId( aIapId );
-        }
-    
-    aPrefs.SetDirection( ECommDbConnectionDirectionOutgoing );
-
+        {  
+        iPreferences.SetIapId( aIapId );
+        aPrefs.AppendL( &iPreferences );
+        } 
     err = iSocketServPtr->Connect();
 
     if ( err != KErrNone )