freewtp/src/wtp/wtp_dfa_reset.c

15 lines
335 B
C
Raw Normal View History

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_reset(struct capwap_parsed_packet* packet, struct timeout_control* timeout) {
2013-05-01 14:52:55 +02:00
ASSERT(timeout != NULL);
/* Teardown connection and close application */
g_wtp.running = 0;
2013-11-07 22:06:29 +01:00
wtp_teardown_connection(timeout);
/* TODO schedule reboot device */
2013-05-01 14:52:55 +02:00
}