hostapd: fix compile of -mini variants
[openwrt/staging/dedeckeh.git] / package / network / services / hostapd / patches / 030-rsn_supp-fix-stub-pmksa_cache.patch
1 diff --git a/src/rsn_supp/pmksa_cache.h b/src/rsn_supp/pmksa_cache.h
2 index 626761dea..6c49fa924 100644
3 --- a/src/rsn_supp/pmksa_cache.h
4 +++ b/src/rsn_supp/pmksa_cache.h
5 @@ -101,7 +101,7 @@ static inline void pmksa_cache_deinit(struct rsn_pmksa_cache *pmksa)
6
7 static inline struct rsn_pmksa_cache_entry *
8 pmksa_cache_get(struct rsn_pmksa_cache *pmksa, const u8 *aa, const u8 *pmkid,
9 - const void *network_ctx)
10 + const void *network_ctx, int akmp)
11 {
12 return NULL;
13 }
14 @@ -148,7 +148,8 @@ static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid,
15 const u8 *bssid,
16 void *network_ctx,
17 int try_opportunistic,
18 - const u8 *fils_cache_id)
19 + const u8 *fils_cache_id,
20 + int akmp)
21 {
22 return -1;
23 }