bluetoothengine/btmac/src/btmac/btmslisten.cpp
branchRCL_3
changeset 13 b6f55cd40afd
parent 0 f63038272f30
--- a/bluetoothengine/btmac/src/btmac/btmslisten.cpp	Mon Mar 15 12:41:15 2010 +0200
+++ b/bluetoothengine/btmac/src/btmac/btmslisten.cpp	Wed Mar 31 21:51:05 2010 +0300
@@ -43,6 +43,7 @@
     {
     delete iHfpSock;
     delete iHspSock;
+    Parent().StoppedListenning();
     }
 
 void CBtmsListen::EnterL()
@@ -83,6 +84,7 @@
     TRACE_STATE((_L("[BTMAC State] Start EBTProfileHSP, last used port %d"), lastUsedPort)) 
     Parent().RegisterServiceL(ag, iHspSock->ListenL(ag, sec,lastUsedPort));
     iHspSock->SetService(EBTProfileHSP);
+    Parent().StartedListenning();
     }
 
 void CBtmsListen::OpenAudioLinkL(const TBTDevAddr& aAddr, TRequestStatus& aStatus)