aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsn_supp/pmksa_cache.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-14 11:33:33 (GMT)
committerJouni Malinen <j@w1.fi>2016-12-14 14:37:03 (GMT)
commit0babae87ad71e6a7293b58d37c67a2389c312d22 (patch)
treeb61093a409964eea739685669806c13a61529c16 /src/rsn_supp/pmksa_cache.h
parent0a425e0f04d067b9fa4c3c7fb18d89e2c0972e46 (diff)
downloadhostap-0babae87ad71e6a7293b58d37c67a2389c312d22.zip
hostap-0babae87ad71e6a7293b58d37c67a2389c312d22.tar.gz
hostap-0babae87ad71e6a7293b58d37c67a2389c312d22.tar.bz2
Fix wpa_supplicant build error with IEEE8021X_EAPOL unset
Add missing inline stubs for newly added functions. Fixes: 3459381dd260 ("External persistent storage for PMKSA cache entries") Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'src/rsn_supp/pmksa_cache.h')
-rw-r--r--src/rsn_supp/pmksa_cache.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
index 8237e63..adc251a 100644
--- a/src/rsn_supp/pmksa_cache.h
+++ b/src/rsn_supp/pmksa_cache.h
@@ -108,6 +108,19 @@ static inline int pmksa_cache_list(struct rsn_pmksa_cache *pmksa, char *buf,
}
static inline struct rsn_pmksa_cache_entry *
+pmksa_cache_head(struct rsn_pmksa_cache *pmksa)
+{
+ return NULL;
+}
+
+static inline struct rsn_pmksa_cache_entry *
+pmksa_cache_add_entry(struct rsn_pmksa_cache *pmksa,
+ struct rsn_pmksa_cache_entry *entry)
+{
+ return NULL;
+}
+
+static inline struct rsn_pmksa_cache_entry *
pmksa_cache_add(struct rsn_pmksa_cache *pmksa, const u8 *pmk, size_t pmk_len,
const u8 *pmkid, const u8 *kck, size_t kck_len,
const u8 *aa, const u8 *spa, void *network_ctx, int akmp)