projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
721abef
)
Fix wpa_sm_has_ptk() no-WPA wrapper location
author
Jouni Malinen
<j@w1.fi>
Sun, 11 Apr 2010 08:39:14 +0000
(11:39 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sun, 11 Apr 2010 08:39:14 +0000
(11:39 +0300)
src/rsn_supp/wpa.h
patch
|
blob
|
history
diff --git
a/src/rsn_supp/wpa.h
b/src/rsn_supp/wpa.h
index
4faea8d
..
612f645
100644
(file)
--- a/
src/rsn_supp/wpa.h
+++ b/
src/rsn_supp/wpa.h
@@
-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 */