Set beacon protection config irrespective of macro CONFIG_FILS

This was not supposed to be conditional on CONFIG_FILS.

Fixes: ecbf59e693 ("wpa_supplicant configuration for Beacon protection")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Veerendranath Jakkam 2020-03-21 06:09:30 +05:30 committed by Jouni Malinen
parent cc79eb725f
commit 5a296129fc

View 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;