Browse Source

Fix WNM build without WPA2

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>
Jouni Malinen 11 years ago
parent
commit
84ae1d44ca
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/rsn_supp/wpa.h

+ 5 - 0
src/rsn_supp/wpa.h

@@ -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)
 {