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>
master
Veerendranath Jakkam 4 years ago committed by Jouni Malinen
parent cc79eb725f
commit 5a296129fc

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

Loading…
Cancel
Save