bluetoothengine/btmac/src/btmac/btmsctrl.cpp
changeset 2 0b192a3a05a4
parent 0 f63038272f30
--- a/bluetoothengine/btmac/src/btmac/btmsctrl.cpp	Tue Jan 26 12:06:42 2010 +0200
+++ b/bluetoothengine/btmac/src/btmac/btmsctrl.cpp	Tue Feb 02 00:20:42 2010 +0200
@@ -117,6 +117,14 @@
 void CBtmsCtrl::AccInUse()
 	{
 	TRACE_FUNC
+	if ( iRfcomm->Service() == EBTProfileHSP )
+	    {
+	    // volume control support status of the HSP in remote device
+	    // is only available in the owner of this component.
+	    // Ask parent to set the support in cmdhandler.
+	    Parent().SetCmdHandlerRvcSupport( iRfcomm->Remote() );
+	    }
+	
 	TInt err;
 	TRAP( err,
     if (!iSco)