Skip to content

Commit 009114a

Browse files
gangli02kartben
authored andcommitted
modules: hostap: flush all unused BSS entries before 11V roaming
For 11V roaming, it attempts to use previously received scan results, if they are recent enough to be used for connection. If wifi driver does not keep the previous scan results, it will failed to find the bss entry. Fix: flush all unused BSS entries, for 11V roaming, don't try to use recent scan results. Signed-off-by: Gang Li <[email protected]>
1 parent b10204b commit 009114a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/hostap/src/supp_api.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,6 +1908,11 @@ int supplicant_btm_query(const struct device *dev, uint8_t reason)
19081908
goto out;
19091909
}
19101910

1911+
/* Flush all unused BSS entries */
1912+
if (!wpa_cli_cmd_v("bss_flush")) {
1913+
goto out;
1914+
}
1915+
19111916
if (!wpa_cli_cmd_v("wnm_bss_query %d", reason)) {
19121917
goto out;
19131918
}

0 commit comments

Comments
 (0)