aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_auth/eapol_auth_sm.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-07-19 02:28:53 (GMT)
committerJouni Malinen <j@w1.fi>2010-07-21 05:56:10 (GMT)
commit7f6ec672ea429cc02bbe5532f3cc9e8892adb00c (patch)
treef5a542d82da9ea32d94d58a4ec707787d025de02 /src/eapol_auth/eapol_auth_sm.c
parentf3a3e6987e2201e17cdb244e166b62325f99eb7d (diff)
downloadhostap-7f6ec672ea429cc02bbe5532f3cc9e8892adb00c.zip
hostap-7f6ec672ea429cc02bbe5532f3cc9e8892adb00c.tar.gz
hostap-7f6ec672ea429cc02bbe5532f3cc9e8892adb00c.tar.bz2
EAP server: Add support for configuring fragment size
Diffstat (limited to 'src/eapol_auth/eapol_auth_sm.c')
-rw-r--r--src/eapol_auth/eapol_auth_sm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eapol_auth/eapol_auth_sm.c b/src/eapol_auth/eapol_auth_sm.c
index a1976e8..9080009 100644
--- a/src/eapol_auth/eapol_auth_sm.c
+++ b/src/eapol_auth/eapol_auth_sm.c
@@ -830,6 +830,7 @@ eapol_auth_alloc(struct eapol_authenticator *eapol, const u8 *addr,
eap_conf.wps = eapol->conf.wps;
eap_conf.assoc_wps_ie = assoc_wps_ie;
eap_conf.peer_addr = addr;
+ eap_conf.fragment_size = eapol->conf.fragment_size;
sm->eap = eap_server_sm_init(sm, &eapol_cb, &eap_conf);
if (sm->eap == NULL) {
eapol_auth_free(sm);
@@ -1077,6 +1078,7 @@ static int eapol_auth_conf_clone(struct eapol_auth_config *dst,
dst->eap_sim_aka_result_ind = src->eap_sim_aka_result_ind;
dst->tnc = src->tnc;
dst->wps = src->wps;
+ dst->fragment_size = src->fragment_size;
return 0;
}