diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2017-06-08 08:18:00 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2017-07-08 13:21:38 (GMT) |
commit | 881a92e8b8555855f6fbb7b637d3dfee827cf312 (patch) | |
tree | 49d170fb2712ba21b7e0599319fc253ebd9dda05 /src | |
parent | c1361765fd2b57d8cb330c5566b060f5b6b26c2c (diff) | |
download | hostap-881a92e8b8555855f6fbb7b637d3dfee827cf312.zip hostap-881a92e8b8555855f6fbb7b637d3dfee827cf312.tar.gz hostap-881a92e8b8555855f6fbb7b637d3dfee827cf312.tar.bz2 |
FILS: Fix compilation with CONFIG_NO_WPA
wpa_fils_is_completed() was not defined.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/rsn_supp/wpa.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h index 37c5d62..958489d 100644 --- a/src/rsn_supp/wpa.h +++ b/src/rsn_supp/wpa.h @@ -175,6 +175,7 @@ void wpa_sm_set_rx_replay_ctr(struct wpa_sm *sm, const u8 *rx_replay_counter); void wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck, size_t ptk_kck_len, const u8 *ptk_kek, size_t ptk_kek_len); +int wpa_fils_is_completed(struct wpa_sm *sm); #else /* CONFIG_NO_WPA */ @@ -342,6 +343,11 @@ static inline void wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck, { } +static inline int wpa_fils_is_completed(struct wpa_sm *sm) +{ + return 0; +} + #endif /* CONFIG_NO_WPA */ #ifdef CONFIG_PEERKEY @@ -450,7 +456,6 @@ struct wpabuf * fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek, const struct wpabuf **hlp, unsigned int num_hlp); int fils_process_assoc_resp(struct wpa_sm *sm, const u8 *resp, size_t len); -int wpa_fils_is_completed(struct wpa_sm *sm); struct wpabuf * owe_build_assoc_req(struct wpa_sm *sm); int owe_process_assoc_resp(struct wpa_sm *sm, const u8 *resp_ies, |