multimediacommsengine/mmcesrv/mmcemediamanager/src/mcemediamanager.cpp
branchRCL_3
changeset 13 fb1bbf85a302
parent 12 91f50911ea81
child 19 3f7c7e6eea8a
--- a/multimediacommsengine/mmcesrv/mmcemediamanager/src/mcemediamanager.cpp	Tue May 25 13:07:26 2010 +0300
+++ b/multimediacommsengine/mmcesrv/mmcemediamanager/src/mcemediamanager.cpp	Wed Jun 09 10:06:41 2010 +0300
@@ -307,8 +307,8 @@
     aSession.NegotiationState().UpdateL();
     status = !aSession.NegotiationState().CallbackAllowed() ? 
              KMceReady : KMceAsync;
-    if( status==KMceReady && aSession.SecureSession() 
-            && negotationStateId!=KMceMediaIdle )
+    if ( aSession.SecureSession() && negotationStateId ==
+    	 KMceOfferingMedia && aSession.SecureSession()->iLSReadyToBind )
     	{
         aSession.SecureSession()->BindStreamCrypto();
     	}