bluetoothengine/btmac/src/btmac/btmsctrl.cpp
changeset 2 0b192a3a05a4
parent 0 f63038272f30
equal deleted inserted replaced
1:6a1fe72036e3 2:0b192a3a05a4
   115     }
   115     }
   116     
   116     
   117 void CBtmsCtrl::AccInUse()
   117 void CBtmsCtrl::AccInUse()
   118 	{
   118 	{
   119 	TRACE_FUNC
   119 	TRACE_FUNC
       
   120 	if ( iRfcomm->Service() == EBTProfileHSP )
       
   121 	    {
       
   122 	    // volume control support status of the HSP in remote device
       
   123 	    // is only available in the owner of this component.
       
   124 	    // Ask parent to set the support in cmdhandler.
       
   125 	    Parent().SetCmdHandlerRvcSupport( iRfcomm->Remote() );
       
   126 	    }
       
   127 	
   120 	TInt err;
   128 	TInt err;
   121 	TRAP( err,
   129 	TRAP( err,
   122     if (!iSco)
   130     if (!iSco)
   123         {
   131         {
   124         iSco = CBtmSyncSock::NewL(*this, Parent().SockServ());
   132         iSco = CBtmSyncSock::NewL(*this, Parent().SockServ());