PASN: Select the latest available BSS entry for a BSSID
This is needed to work around some issues that show up mainly in testing scenarios when the same BSSID might be used with different configurations and the scan results from the driver might include both the old and new contents when two different SSIDs are used. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
09d57e5f89
commit
40b2558828
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ static struct wpa_bss * wpas_pasn_allowed(struct wpa_supplicant *wpa_s,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
bss = wpa_bss_get_bssid(wpa_s, peer_addr);
|
||||
bss = wpa_bss_get_bssid_latest(wpa_s, peer_addr);
|
||||
if (!bss) {
|
||||
wpa_printf(MSG_DEBUG, "PASN: BSS not found");
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue