[please CC me on replies, I'm not subscribed]
Trying to associate with wpa_supplicant 2.6 to a Lancom AP/WLC
combination in 802.11r eap mode fails with the message "FT: No
PMKR1Name in FT 4-way handshake message 3/4".
Googling around it seems that including the PMK-R1-Name in said message
seems to be optional, though I can't seem to find any proper documents.
Anyway, wpa_supplicant doesn't seem to use the returned value except
for a paranoia sanity check.
The attached patch simply changes the behaviour when PMK-R1-Name is not
included in the message from error to warning and wpa_supplicant
completes association/authentication.
--
Andreas Steinmetz SPAMmers use robotrap@xxxxxxxx
--- a/src/rsn_supp/wpa.c 2016-11-17 18:17:47.634394902 +0100
+++ b/src/rsn_supp/wpa.c 2016-11-17 18:18:02.953502135 +0100
@@ -1013,7 +1013,7 @@
rsn.num_pmkid != 1 || rsn.pmkid == NULL) {
wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG, "FT: No PMKR1Name in "
"FT 4-way handshake message 3/4");
- return -1;
+ return 0;
}
if (os_memcmp_const(rsn.pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) != 0)
_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap