FT over-the-DS might have created the new STA entry on another
affiliated BSS during the FT Request/Response exchange, so use a wider
search to locate the correct STA entry when processing the Reassociation
Request/Response frames.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
bss = bss_get(wt, mgmt->bssid);
if (bss == NULL)
return;
- sta = sta_get(bss, mgmt->sa);
+ sta = sta_find_mlo(wt, bss, mgmt->sa);
+ if (!sta)
+ sta = sta_get(bss, mgmt->sa);
if (sta == NULL)
return;
bss = bss_get(wt, mgmt->bssid);
if (bss == NULL)
return;
- sta = sta_get(bss, mgmt->da);
+ sta = sta_find_mlo(wt, bss, mgmt->da);
+ if (!sta)
+ sta = sta_get(bss, mgmt->da);
if (sta == NULL)
return;