mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
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:
parent
8ca638fb88
commit
f78ea26f13
@ -289,7 +289,7 @@ static int fils_derive_key_data(struct fils_sm *fils)
|
|||||||
if (ie_parse_rsne_from_data(fils->hs->supplicant_ie,
|
if (ie_parse_rsne_from_data(fils->hs->supplicant_ie,
|
||||||
fils->hs->supplicant_ie[1] + 2,
|
fils->hs->supplicant_ie[1] + 2,
|
||||||
&rsn_info) < 0)
|
&rsn_info) < 0)
|
||||||
return -EBADMSG;
|
return -EPROTO;
|
||||||
|
|
||||||
rsn_info.num_pmkids = 1;
|
rsn_info.num_pmkids = 1;
|
||||||
rsn_info.pmkids = fils->hs->pmk_r1_name;
|
rsn_info.pmkids = fils->hs->pmk_r1_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user