aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_tnc.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-08-10 15:00:11 (GMT)
committerJouni Malinen <j@w1.fi>2008-08-10 15:00:11 (GMT)
commitccb172ed7509c1cedb1a52e8d29e1d605608405f (patch)
tree8c6af1ab85f6ddfa41679a9c48c8c6a17bf02232 /src/eap_peer/eap_tnc.c
parent7b5776834b0190fd13b08592c8fcdc32177bbdc4 (diff)
downloadhostap-ccb172ed7509c1cedb1a52e8d29e1d605608405f.zip
hostap-ccb172ed7509c1cedb1a52e8d29e1d605608405f.tar.gz
hostap-ccb172ed7509c1cedb1a52e8d29e1d605608405f.tar.bz2
Renamed MSG to PROC_MSG to avoid conflicts with MinGW winuser.h
Diffstat (limited to 'src/eap_peer/eap_tnc.c')
-rw-r--r--src/eap_peer/eap_tnc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eap_peer/eap_tnc.c b/src/eap_peer/eap_tnc.c
index b2705f7..0a3a01c 100644
--- a/src/eap_peer/eap_tnc.c
+++ b/src/eap_peer/eap_tnc.c
@@ -21,7 +21,7 @@
struct eap_tnc_data {
- enum { WAIT_START, MSG, WAIT_FRAG_ACK, DONE, FAIL } state;
+ enum { WAIT_START, PROC_MSG, WAIT_FRAG_ACK, DONE, FAIL } state;
struct tncc_data *tncc;
struct wpabuf *in_buf;
struct wpabuf *out_buf;
@@ -269,7 +269,7 @@ static struct wpabuf * eap_tnc_process(struct eap_sm *sm, void *priv,
return NULL;
}
wpa_printf(MSG_DEBUG, "EAP-TNC: Fragment acknowledged");
- data->state = MSG;
+ data->state = PROC_MSG;
return eap_tnc_build_msg(data, ret, id);
}
@@ -300,7 +300,7 @@ static struct wpabuf * eap_tnc_process(struct eap_sm *sm, void *priv,
tncc_init_connection(data->tncc);
- data->state = MSG;
+ data->state = PROC_MSG;
} else {
enum tncc_process_res res;
@@ -351,7 +351,7 @@ static struct wpabuf * eap_tnc_process(struct eap_sm *sm, void *priv,
ret->allowNotifications = TRUE;
if (data->out_buf) {
- data->state = MSG;
+ data->state = PROC_MSG;
return eap_tnc_build_msg(data, ret, id);
}
@@ -402,7 +402,7 @@ static struct wpabuf * eap_tnc_process(struct eap_sm *sm, void *priv,
wpabuf_head(resp), wpabuf_len(resp));
data->out_buf = resp;
- data->state = MSG;
+ data->state = PROC_MSG;
return eap_tnc_build_msg(data, ret, id);
}