diff mbox

Fix build error with IEEE8021X_EAPOL unset

Message ID 20161214113333.25432-1-nbd@nbd.name
State Accepted
Headers show

Commit Message

Felix Fietkau Dec. 14, 2016, 11:33 a.m. UTC
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>
---
 src/rsn_supp/pmksa_cache.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Jouni Malinen Dec. 14, 2016, 8:04 p.m. UTC | #1
On Wed, Dec 14, 2016 at 12:33:33PM +0100, Felix Fietkau wrote:
> Add missing inline stubs for newly added functions

Thanks, applied.
diff mbox

Patch

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)