mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 19:04:02 -05:00
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
@ -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…
Reference in New Issue
Block a user