wlantest: Search SPA using MLO aware find for FT Request/Response frame
This is needed to be able to find a previously added STA entry when roaming using FT over-the-DS back to an AP MLD that was used previously. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
104aa291e5
commit
37c87efecf
1 changed files with 6 additions and 2 deletions
|
@ -2108,6 +2108,8 @@ static void rx_mgmt_action_ft_request(struct wlantest *wt,
|
|||
return;
|
||||
}
|
||||
|
||||
sta = sta_find_mlo(wt, bss, spa);
|
||||
if (!sta)
|
||||
sta = sta_get(bss, spa);
|
||||
if (!sta)
|
||||
return;
|
||||
|
@ -2177,6 +2179,8 @@ static void rx_mgmt_action_ft_response(struct wlantest *wt,
|
|||
return;
|
||||
sta->pmk_r1_len = sta->pmk_r0_len;
|
||||
|
||||
new_sta = sta_find_mlo(wt, bss, spa);
|
||||
if (!new_sta)
|
||||
new_sta = sta_get(bss, spa);
|
||||
if (!new_sta)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue