bluetooth/btstack/avctp/avctpmuxerstates.cpp
branchRCL_3
changeset 56 015fa7494bd2
parent 13 20fda83a6398
--- a/bluetooth/btstack/avctp/avctpmuxerstates.cpp	Wed Sep 15 13:27:26 2010 +0300
+++ b/bluetooth/btstack/avctp/avctpmuxerstates.cpp	Wed Oct 13 15:48:34 2010 +0300
@@ -410,6 +410,7 @@
 	if (aAddr != TBTDevAddr(0))
 		{
 		// New this up just in time.
+		__ASSERT_DEBUG(!aTransport.iChannelSAPs[KAvctpPrimaryChannel], Panic(EObjectAlreadyExists));
 		TRAP(ret, aTransport.iChannelSAPs[KAvctpPrimaryChannel] = aTransport.iProtocol.LowerProtocol()->NewSAPL(KSockSeqPacket));
 		if (ret == KErrNone)
 			{