2013-05-01 14:52:55 +02:00
|
|
|
#include "wtp.h"
|
|
|
|
#include "capwap_dfa.h"
|
|
|
|
#include "wtp_dfa.h"
|
|
|
|
|
|
|
|
/* */
|
2013-11-07 22:06:29 +01:00
|
|
|
void wtp_dfa_state_sulking(struct capwap_parsed_packet* packet, struct timeout_control* timeout) {
|
2013-05-01 14:52:55 +02:00
|
|
|
ASSERT(timeout != NULL);
|
|
|
|
|
2013-11-07 22:06:29 +01:00
|
|
|
if (!packet) {
|
|
|
|
g_wtp.dfa.rfcDiscoveryCount = 0;
|
|
|
|
g_wtp.dfa.rfcFailedDTLSSessionCount = 0;
|
|
|
|
g_wtp.dfa.rfcFailedDTLSAuthFailCount = 0;
|
2013-05-01 14:52:55 +02:00
|
|
|
|
2013-11-07 22:06:29 +01:00
|
|
|
/* */
|
|
|
|
capwap_set_timeout(0, timeout, CAPWAP_TIMER_CONTROL_CONNECTION);
|
|
|
|
wtp_dfa_change_state(CAPWAP_IDLE_STATE);
|
|
|
|
}
|
2013-05-01 14:52:55 +02:00
|
|
|
}
|