From: Karthikeyan Kathirvel Date: Thu, 31 Mar 2022 06:04:51 +0000 (+0530) Subject: FILS: Fix config check to allow unsolicited broadcast Probe Response X-Git-Tag: hostap_2_11~2115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d27f7bd9461b3408115157379d48ca56561f43e1;p=thirdparty%2Fhostap.git FILS: Fix config check to allow unsolicited broadcast Probe Response Unsolicited broadcast Probe Response frame configuration did not work in hostapd due fils_discovery_min_int being used by mistake where fils_discovery_max_int should have been used in checking for conflicting configuration. The latter is the one used to decide whether FILS discovery is enabled or not. Signed-off-by: Karthikeyan Kathirvel --- diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c index f2d13ea71..051b843e9 100644 --- a/src/ap/ap_config.c +++ b/src/ap/ap_config.c @@ -1427,7 +1427,7 @@ static int hostapd_config_check_bss(struct hostapd_bss_config *bss, #endif /* CONFIG_SAE_PK */ #ifdef CONFIG_FILS - if (full_config && bss->fils_discovery_min_int && + if (full_config && bss->fils_discovery_max_int && bss->unsol_bcast_probe_resp_interval) { wpa_printf(MSG_ERROR, "Cannot enable both FILS discovery and unsolicited broadcast Probe Response at the same time");