]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Set beacon protection config irrespective of macro CONFIG_FILS
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Sat, 21 Mar 2020 00:39:30 +0000 (06:09 +0530)
committerJouni Malinen <j@w1.fi>
Sat, 21 Mar 2020 15:12:29 +0000 (17:12 +0200)
This was not supposed to be conditional on CONFIG_FILS.

Fixes: ecbf59e6931f ("wpa_supplicant configuration for Beacon protection")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/rsn_supp/wpa.c

index 5bb47bcbe1c025ba956d3088fc5432db593c119a..ba0e5c3435c2298acf19e2cc2c46bb83c1046ad0 100644 (file)
@@ -3042,8 +3042,8 @@ void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config)
                } else {
                        sm->fils_cache_id_set = 0;
                }
-               sm->beacon_prot = config->beacon_prot;
 #endif /* CONFIG_FILS */
+               sm->beacon_prot = config->beacon_prot;
        } else {
                sm->network_ctx = NULL;
                sm->allowed_pairwise_cipher = 0;