aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2018-04-13 06:00:03 +0200
committerDaniel Golle <daniel@makrotopia.org>2018-04-13 06:01:16 +0200
commitc52ef396f9aa180b0416f6ee5ed50d40d332a3a6 (patch)
tree81d192867ca2d8ead65b0c5861dbb008e9cc2086
parent1356a66f94f31e636fafec514a1c658356ef51b3 (diff)
downloadupstream-c52ef396f9aa180b0416f6ee5ed50d40d332a3a6.tar.gz
upstream-c52ef396f9aa180b0416f6ee5ed50d40d332a3a6.tar.bz2
upstream-c52ef396f9aa180b0416f6ee5ed50d40d332a3a6.zip
hostapd: fix compile of -mini variants
Fixes commit d88934aa5a (hostapd: update to git snapshot of 2018-04-09) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--package/network/services/hostapd/patches/030-rsn_supp-fix-stub-pmksa_cache.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/030-rsn_supp-fix-stub-pmksa_cache.patch b/package/network/services/hostapd/patches/030-rsn_supp-fix-stub-pmksa_cache.patch
new file mode 100644
index 0000000000..bd380765c6
--- /dev/null
+++ b/package/network/services/hostapd/patches/030-rsn_supp-fix-stub-pmksa_cache.patch
@@ -0,0 +1,23 @@
+diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
+index 626761dea..6c49fa924 100644
+--- a/src/rsn_supp/pmksa_cache.h
++++ b/src/rsn_supp/pmksa_cache.h
+@@ -101,7 +101,7 @@ static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa)
+
+ static inline struct rsn_pmksa_cache_entry *
+ pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid,
+- const void *network_ctx)
++ const void *network_ctx, int akmp)
+ {
+ return NULL;
+ }
+@@ -148,7 +148,8 @@ static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
+ const u8 *bssid,
+ void *network_ctx,
+ int try_opportunistic,
+- const u8 *fils_cache_id)
++ const u8 *fils_cache_id,
++ int akmp)
+ {
+ return -1;
+ }