const u8 *ies;
size_t ies_len;
struct wpa_ft_ies parse;
+ const u8 *spa, *aa;
struct wlantest_bss *bss;
struct wlantest_sta *sta;
return;
}
+ spa = mgmt->u.action.u.ft_action_resp.sta_addr;
+ aa = mgmt->u.action.u.ft_action_resp.target_ap_addr;
wpa_printf(MSG_DEBUG, "FT Request: STA Address: " MACSTR
" Target AP Address: " MACSTR,
- MAC2STR(mgmt->u.action.u.ft_action_req.sta_addr),
- MAC2STR(mgmt->u.action.u.ft_action_req.target_ap_addr));
+ MAC2STR(spa), MAC2STR(aa));
ies = mgmt->u.action.u.ft_action_req.variable;
ies_len = len - (24 + 2 + 2 * ETH_ALEN);
wpa_hexdump(MSG_DEBUG, "FT Request frame body", ies, ies_len);
return;
}
- bss = bss_get(wt, mgmt->u.action.u.ft_action_resp.target_ap_addr);
+ bss = bss_get(wt, aa);
if (!bss) {
add_note(wt, MSG_INFO, "No BSS entry for Target AP");
return;
{
struct wlantest_bss *bss, *bss2;
struct wlantest_sta *new_sta;
+ const u8 *spa, *aa;
const u8 *ies;
size_t ies_len;
struct wpa_ft_ies parse;
return;
}
+ spa = mgmt->u.action.u.ft_action_resp.sta_addr;
+ aa = mgmt->u.action.u.ft_action_resp.target_ap_addr;
wpa_printf(MSG_DEBUG, "FT Response: STA Address: " MACSTR
" Target AP Address: " MACSTR " Status Code: %u",
- MAC2STR(mgmt->u.action.u.ft_action_resp.sta_addr),
- MAC2STR(mgmt->u.action.u.ft_action_resp.target_ap_addr),
+ MAC2STR(spa), MAC2STR(aa),
le_to_host16(mgmt->u.action.u.ft_action_resp.status_code));
ies = mgmt->u.action.u.ft_action_req.variable;
ies_len = len - (24 + 2 + 2 * ETH_ALEN);
return;
}
- bss = bss_find(wt, mgmt->u.action.u.ft_action_resp.target_ap_addr);
- bss2 = bss_find_mld(wt, mgmt->u.action.u.ft_action_resp.target_ap_addr);
+ bss = bss_find(wt, aa);
+ bss2 = bss_find_mld(wt, aa);
if (!bss)
bss = bss2;
if (bss && bss2 && bss != bss2 && !sta_find(bss, sta->addr))
bss = bss2;
if (!bss)
- bss = bss_get(wt,
- mgmt->u.action.u.ft_action_resp.target_ap_addr);
+ bss = bss_get(wt, aa);
if (!bss) {
add_note(wt, MSG_INFO, "No BSS entry for Target AP");