mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
Fix wpa_sm_has_ptk() no-WPA wrapper location
This commit is contained in:
parent
721abef9b3
commit
e6ecca7737
@ -266,6 +266,11 @@ static inline void wpa_sm_drop_sa(struct wpa_sm *sm)
|
||||
{
|
||||
}
|
||||
|
||||
static inline int wpa_sm_has_ptk(struct wpa_sm *sm)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_NO_WPA */
|
||||
|
||||
#ifdef CONFIG_PEERKEY
|
||||
@ -324,11 +329,6 @@ wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
|
||||
return -1;
|
||||
}
|
||||
|
||||
static inline int wpa_sm_has_ptk(struct wpa_sm *sm)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_IEEE80211R */
|
||||
|
||||
#endif /* WPA_H */
|
||||
|
Loading…
Reference in New Issue
Block a user