mka: Log MI update failure in debug log
One of the reset_participant_mi() callers did not log the error. Make this more consistent with the other callers. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f9052d6ea5
commit
a1417c7f96
1 changed files with 6 additions and 1 deletions
|
@ -1422,7 +1422,12 @@ ieee802_1x_mka_decode_sak_use_body(
|
|||
}
|
||||
if (!found) {
|
||||
wpa_printf(MSG_INFO, "KaY: Latest key is invalid");
|
||||
reset_participant_mi(participant);
|
||||
if (!reset_participant_mi(participant))
|
||||
wpa_printf(MSG_DEBUG, "KaY: Could not update mi");
|
||||
else
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"KaY: Selected a new random MI: %s",
|
||||
mi_txt(participant->mi));
|
||||
return -1;
|
||||
}
|
||||
if (os_memcmp(participant->lki.mi, body->lsrv_mi,
|
||||
|
|
Loading…
Reference in a new issue