Fix WNM build without WPA2

Commit ae8535b6e1 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>
This commit is contained in:
Jouni Malinen 2013-06-07 20:02:50 +03:00 committed by Jouni Malinen
parent c33d5eb063
commit 84ae1d44ca

View file

@ -245,6 +245,11 @@ static inline int wpa_sm_get_status(struct wpa_sm *sm, char *buf,
return 0; 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, static inline void wpa_sm_key_request(struct wpa_sm *sm, int error,
int pairwise) int pairwise)
{ {