diff -r 10183c6d2913 -r 015fa7494bd2 bluetooth/btstack/avctp/avctp.cpp --- a/bluetooth/btstack/avctp/avctp.cpp Wed Sep 15 13:27:26 2010 +0300 +++ b/bluetooth/btstack/avctp/avctp.cpp Wed Oct 13 15:48:34 2010 +0300 @@ -388,6 +388,7 @@ localAddr.SetSecurity(sec); CleanupStack::Pop(sap); + __ASSERT_DEBUG(!iListener, Panic(EObjectAlreadyExists)); iListener = CIncomingConnectionListener::NewL(*this, sap, localAddr, KProtocolListeningQueueSize); CServProviderBase* sap2 =iLowerProtocol->NewSAPL(KSockSeqPacket);