FILS: Fix CONFIG_FILS=y build without CONFIG_IEEE80211R=y
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
bf001e42bf
commit
d555c39c41
1 changed files with 2 additions and 0 deletions
|
@ -3520,6 +3520,7 @@ int fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data,
|
||||||
os_memcpy(sm->fils_anonce, elems.fils_nonce, FILS_NONCE_LEN);
|
os_memcpy(sm->fils_anonce, elems.fils_nonce, FILS_NONCE_LEN);
|
||||||
wpa_hexdump(MSG_DEBUG, "FILS: ANonce", sm->fils_anonce, FILS_NONCE_LEN);
|
wpa_hexdump(MSG_DEBUG, "FILS: ANonce", sm->fils_anonce, FILS_NONCE_LEN);
|
||||||
|
|
||||||
|
#ifdef CONFIG_IEEE80211R
|
||||||
if (wpa_key_mgmt_ft(sm->key_mgmt)) {
|
if (wpa_key_mgmt_ft(sm->key_mgmt)) {
|
||||||
struct wpa_ft_ies parse;
|
struct wpa_ft_ies parse;
|
||||||
|
|
||||||
|
@ -3567,6 +3568,7 @@ int fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data,
|
||||||
wpabuf_free(sm->fils_ft_ies);
|
wpabuf_free(sm->fils_ft_ies);
|
||||||
sm->fils_ft_ies = NULL;
|
sm->fils_ft_ies = NULL;
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_IEEE80211R */
|
||||||
|
|
||||||
/* PMKID List */
|
/* PMKID List */
|
||||||
if (rsn.pmkid && rsn.num_pmkid > 0) {
|
if (rsn.pmkid && rsn.num_pmkid > 0) {
|
||||||
|
|
Loading…
Reference in a new issue