aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-02-15 15:36:49 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-15 17:57:44 (GMT)
commit04d13263f86e6f17cc2a489b98c6a0e37e94f790 (patch)
tree0cd4652e6ad37ea53a69841ee913a72655cf0b70 /src/eap_peer/eap_i.h
parentf2b9939e51cdc83f0f1bc9e01704a5bf3b105696 (diff)
downloadhostap-06-04d13263f86e6f17cc2a489b98c6a0e37e94f790.zip
hostap-06-04d13263f86e6f17cc2a489b98c6a0e37e94f790.tar.gz
hostap-06-04d13263f86e6f17cc2a489b98c6a0e37e94f790.tar.bz2
Do not try session resumption after EAP failure
If session resumption fails for any reason, do not try it again because that is just likely to fail. Instead, drop back to using full authentication which may work. This is a workaround for servers that do not like session resumption, but do not know how to fall back to full authentication properly. (cherry picked from commit f2d8fc3d9670ae90a04f38d4344d8dfc0f0929ab)
Diffstat (limited to 'src/eap_peer/eap_i.h')
-rw-r--r--src/eap_peer/eap_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eap_peer/eap_i.h b/src/eap_peer/eap_i.h
index 4b7029e..e7c826e 100644
--- a/src/eap_peer/eap_i.h
+++ b/src/eap_peer/eap_i.h
@@ -333,6 +333,8 @@ struct eap_sm {
int force_disabled;
struct wps_context *wps;
+
+ int prev_failure;
};
const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len);