bluetooth/btstack/l2cap/l2capSigStates.cpp
branchRCL_3
changeset 22 786b94c6f0a4
parent 17 32ba20339036
child 23 5b153be919d4
equal deleted inserted replaced
21:14e240312f6f 22:786b94c6f0a4
   896 
   896 
   897 // Change of state events
   897 // Change of state events
   898 void TL2CAPSigStateWaitConfig::Enter(CL2CapSAPSignalHandler& aSignalHandler) const
   898 void TL2CAPSigStateWaitConfig::Enter(CL2CapSAPSignalHandler& aSignalHandler) const
   899 	{
   899 	{
   900 	LOG_FUNC
   900 	LOG_FUNC
       
   901 	// Cancel the Config timer if it's running
       
   902 	aSignalHandler.CancelTimer();
       
   903 	
   901 	// First start the ConfigReq sending delay timer (see DelayConfigRequest() for why).
   904 	// First start the ConfigReq sending delay timer (see DelayConfigRequest() for why).
   902 	// It's short lived, we'll start the proper L2CAP config timer when it expires.
   905 	// It's short lived, we'll start the proper L2CAP config timer when it expires.
   903 	aSignalHandler.StartConfigRequestDelayTimer();
   906 	aSignalHandler.StartConfigRequestDelayTimer();
   904 	}
   907 	}
   905 
   908