bluetooth/btstack/l2cap/l2capSigStates.cpp
branchRCL_3
changeset 44 e9b924a62a66
parent 43 5b153be919d4
child 45 99439b07e980
equal deleted inserted replaced
43:5b153be919d4 44:e9b924a62a66
   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