]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix WNM build without WPA2
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 7 Jun 2013 17:02:50 +0000 (20:02 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 7 Jun 2013 17:02:50 +0000 (20:02 +0300)
Commit ae8535b6e1a98ca40ce87650a4179851e7cd13a7 added a new function
wpa_sm_pmf_enabled() which is called from WNM code without ifdefs.
Define a dummy wrapper for this function to fix build if WPA2 is
disabled.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

src/rsn_supp/wpa.h

index c757dcf11dd1f5d085d358c0d6f1f844f8afd3c1..26e9c6ca028245051d93926e15643e56acfbce4a 100644 (file)
@@ -245,6 +245,11 @@ static inline int wpa_sm_get_status(struct wpa_sm *sm, char *buf,
        return 0;
 }
 
+static inline int wpa_sm_pmf_enabled(struct wpa_sm *sm)
+{
+       return 0;
+}
+
 static inline void wpa_sm_key_request(struct wpa_sm *sm, int error,
                                      int pairwise)
 {