fils: change fatal return code to -EPROTO

This keeps FILS consistent with what netdev expects for a fatal
auth-proto return.
This commit is contained in:
James Prestwood 2021-09-08 11:19:01 -07:00 committed by Denis Kenzior
parent 8ca638fb88
commit f78ea26f13
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ static int fils_derive_key_data(struct fils_sm *fils)
if (ie_parse_rsne_from_data(fils->hs->supplicant_ie,
fils->hs->supplicant_ie[1] + 2,
&rsn_info) < 0)
return -EBADMSG;
return -EPROTO;
rsn_info.num_pmkids = 1;
rsn_info.pmkids = fils->hs->pmk_r1_name;