EAP server: Add support for configuring fragment size
This commit is contained in:
parent
f3a3e6987e
commit
7f6ec672ea
13 changed files with 22 additions and 5 deletions
|
@ -136,7 +136,8 @@ static void * eap_wsc_init(struct eap_sm *sm)
|
|||
os_free(data);
|
||||
return NULL;
|
||||
}
|
||||
data->fragment_size = WSC_FRAGMENT_SIZE;
|
||||
data->fragment_size = sm->fragment_size > 0 ? sm->fragment_size :
|
||||
WSC_FRAGMENT_SIZE;
|
||||
|
||||
return data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue