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:
parent
c33d5eb063
commit
84ae1d44ca
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue