bluetooth/btstack/l2cap/l2capSigStates.cpp
branchRCL_3
changeset 22 786b94c6f0a4
parent 17 32ba20339036
child 23 5b153be919d4
--- a/bluetooth/btstack/l2cap/l2capSigStates.cpp	Thu Jul 15 19:55:36 2010 +0300
+++ b/bluetooth/btstack/l2cap/l2capSigStates.cpp	Thu Aug 19 11:01:00 2010 +0300
@@ -898,6 +898,9 @@
 void TL2CAPSigStateWaitConfig::Enter(CL2CapSAPSignalHandler& aSignalHandler) const
 	{
 	LOG_FUNC
+	// Cancel the Config timer if it's running
+	aSignalHandler.CancelTimer();
+	
 	// First start the ConfigReq sending delay timer (see DelayConfigRequest() for why).
 	// It's short lived, we'll start the proper L2CAP config timer when it expires.
 	aSignalHandler.StartConfigRequestDelayTimer();