]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Handle CONFIG_NO_WPA for wpa_sm_has_ptk_installed()
authorJouni Malinen <j@w1.fi>
Thu, 26 Dec 2024 22:19:33 +0000 (00:19 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 26 Dec 2024 22:19:33 +0000 (00:19 +0200)
There was no empty wrapper for wpa_sm_has_ptk_installed() for the
CONFIG_NO_WPA=y builds. The previously renamed wpa_sm_has_ptk() wrapper
was still in place even though it is not used anymore, so rename it to
cover this newer need.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/rsn_supp/wpa.h

index 116e616aaa58e11ba3b081e9b0c51e4b19ca050f..9783feef2b651da43833730b956dd19ef22ea992 100644 (file)
@@ -476,7 +476,7 @@ wpa_sm_pmksa_cache_get(struct wpa_sm *sm, const u8 *aa, const u8 *pmkid,
        return NULL;
 }
 
-static inline int wpa_sm_has_ptk(struct wpa_sm *sm)
+static inline int wpa_sm_has_ptk_installed(struct wpa_sm *sm)
 {
        return 0;
 }