bluetooth/btstack/secman/pairingserver.cpp
changeset 51 20ac952a623c
parent 48 22de2e391156
equal deleted inserted replaced
48:22de2e391156 51:20ac952a623c
   786 		}
   786 		}
   787 	aMessage.ReadL(0, addrBuf);
   787 	aMessage.ReadL(0, addrBuf);
   788 
   788 
   789 	TBTSockAddr addr;
   789 	TBTSockAddr addr;
   790 	addr.SetBTAddr(addrBuf());
   790 	addr.SetBTAddr(addrBuf());
       
   791 	__ASSERT_DEBUG(!iProxySap, PANIC(KPairingServerFaultCat, EPairingServerObjectAlreadyExists));
   791 	iProxySap = CBTProxySAP::NewL(iPhysicalLinksManager, NULL);
   792 	iProxySap = CBTProxySAP::NewL(iPhysicalLinksManager, NULL);
   792 	
   793 	
   793 	iStartBondingMsg = aMessage;
   794 	iStartBondingMsg = aMessage;
   794 	// Now we've entered the realm of not leaving with an error, since the connection
   795 	// Now we've entered the realm of not leaving with an error, since the connection
   795 	// process has started.  Errors from now on must be via the Error() function call.
   796 	// process has started.  Errors from now on must be via the Error() function call.