aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeerendranath Jakkam <vjakkam@codeaurora.org>2020-03-21 00:39:30 (GMT)
committerJouni Malinen <j@w1.fi>2020-03-21 15:12:29 (GMT)
commit5a296129fc1c7bcbb94e962e12c239a8f9180b37 (patch)
tree3dfb369761d2ddb63ecbfe0001c3fad6a48b638d
parentcc79eb725f7b564269619ce4a64be2a80927d392 (diff)
downloadhostap-5a296129fc1c7bcbb94e962e12c239a8f9180b37.zip
hostap-5a296129fc1c7bcbb94e962e12c239a8f9180b37.tar.gz
hostap-5a296129fc1c7bcbb94e962e12c239a8f9180b37.tar.bz2
Set beacon protection config irrespective of macro CONFIG_FILS
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>
-rw-r--r--src/rsn_supp/wpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c
index 5bb47bc..ba0e5c3 100644
--- a/src/rsn_supp/wpa.c
+++ b/src/rsn_supp/wpa.c
@@ -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;