bluetooth/btstack/avdtp/avdtpMediaSession.cpp
branchRCL_3
changeset 56 015fa7494bd2
parent 41 786b94c6f0a4
--- a/bluetooth/btstack/avdtp/avdtpMediaSession.cpp	Wed Sep 15 13:27:26 2010 +0300
+++ b/bluetooth/btstack/avdtp/avdtpMediaSession.cpp	Wed Oct 13 15:48:34 2010 +0300
@@ -59,6 +59,11 @@
 	iPacketsLost = 0;
 	}
 	
+CMediaSession::~CMediaSession()
+	{
+	LOG_FUNC
+	}
+
 void CMediaSession::ConstructL()
 	{
 	LOG_FUNC
@@ -76,7 +81,7 @@
 	__ASSERT_DEBUG(iStream, Panic(EAvdtpTransportSessionBaseNotCheckStream));
 	TInt ret = KErrGeneral; // may be OOM or notfound
 
-	ret = iStream->AddSession(EMedia,*this,iTransportChannel,TL2CapConfig::EHigh);
+	ret = iStream->AddSession(EMedia,*this,iTransportChannel);
 	if (ret!=KErrNone)
 		{
 		// not erroring the stream, as it's not it's fault