bluetoothengine/btmac/src/btmac/btmsreconnect.cpp
changeset 2 0b192a3a05a4
parent 0 f63038272f30
--- a/bluetoothengine/btmac/src/btmac/btmsreconnect.cpp	Tue Jan 26 12:06:42 2010 +0200
+++ b/bluetoothengine/btmac/src/btmac/btmsreconnect.cpp	Tue Feb 02 00:20:42 2010 +0200
@@ -163,6 +163,10 @@
     else
         {
         Parent().LoadCmdHandlerL(EBtmcHSP, iRfcomm->Remote(), iRfcomm->AccessoryInitiatedConnection());
+        // 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() );
         Parent().ChangeStateL(CBtmsOpenAudio::NewL(Parent(), SwapStateRequest(), SwapStateRfcommSock(), NULL));
         }
     }