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);
|
|
|
|
|
2013-11-10 22:11:56 +01:00
|
|
|
/* Teardown connection and close application */
|
|
|
|
g_wtp.running = 0;
|
2013-11-07 22:06:29 +01:00
|
|
|
wtp_teardown_connection(timeout);
|
2013-11-10 22:11:56 +01:00
|
|
|
|
|
|
|
/* TODO schedule reboot device */
|
2013-05-01 14:52:55 +02:00
|
|
|
}
|