OCV: Fix OCV-FAILURE event address for FT Reassociation Response frame
sm->bssid is still the BSSID of the previous AP at this point in the FT
protocol, so need to show the target AP's BSSID instead in the failure
message.
Fixes: 8c1f61e820
("OCV: Report OCI validation failures with OCV-FAILURE messages (STA)")
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
fdb8c40c7f
commit
b5e3d92ee4
1 changed files with 1 additions and 1 deletions
|
@ -1203,7 +1203,7 @@ int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies,
|
||||||
ci.seg1_idx) != OCI_SUCCESS) {
|
ci.seg1_idx) != OCI_SUCCESS) {
|
||||||
wpa_msg(sm->ctx->msg_ctx, MSG_INFO, OCV_FAILURE
|
wpa_msg(sm->ctx->msg_ctx, MSG_INFO, OCV_FAILURE
|
||||||
"addr=" MACSTR " frame=ft-assoc error=%s",
|
"addr=" MACSTR " frame=ft-assoc error=%s",
|
||||||
MAC2STR(sm->bssid), ocv_errorstr);
|
MAC2STR(src_addr), ocv_errorstr);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue