#include "wtp.h" #include "capwap_dfa.h" #include "wtp_dfa.h" /* */ void wtp_dfa_state_sulking(struct capwap_parsed_packet* packet, struct timeout_control* timeout) { ASSERT(timeout != NULL); if (!packet) { g_wtp.dfa.rfcDiscoveryCount = 0; g_wtp.dfa.rfcFailedDTLSSessionCount = 0; g_wtp.dfa.rfcFailedDTLSAuthFailCount = 0; /* */ capwap_set_timeout(0, timeout, CAPWAP_TIMER_CONTROL_CONNECTION); wtp_dfa_change_state(CAPWAP_IDLE_STATE); } }