Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion wpa_supplicant/wnm_sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,9 @@ static void ieee802_11_rx_bss_trans_mgmt_req(struct wpa_supplicant *wpa_s,
* timestamp nor will it expire old BSSs.
*/
wpa_supplicant_update_scan_results(wpa_s, NULL);
if (wnm_scan_process(wpa_s, true) > 0)

if (wnm_scan_process(wpa_s,
IS_ENABLED(CONFIG_WIFI_NM_WPA_SUPPLICANT_BTM_PRE_SCAN_CHECK)) > 0)
return;
wpa_printf(MSG_DEBUG,
"WNM: No valid match in previous scan results - try a new scan");
Expand Down