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:
parent
cc79eb725f
commit
5a296129fc
1 changed files with 1 additions and 1 deletions
|
@ -3042,8 +3042,8 @@ void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config)
|
||||||
} else {
|
} else {
|
||||||
sm->fils_cache_id_set = 0;
|
sm->fils_cache_id_set = 0;
|
||||||
}
|
}
|
||||||
sm->beacon_prot = config->beacon_prot;
|
|
||||||
#endif /* CONFIG_FILS */
|
#endif /* CONFIG_FILS */
|
||||||
|
sm->beacon_prot = config->beacon_prot;
|
||||||
} else {
|
} else {
|
||||||
sm->network_ctx = NULL;
|
sm->network_ctx = NULL;
|
||||||
sm->allowed_pairwise_cipher = 0;
|
sm->allowed_pairwise_cipher = 0;
|
||||||
|
|
Loading…
Reference in a new issue