aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-12-14 14:38:44 (GMT)
committerJouni Malinen <j@w1.fi>2016-12-14 14:38:44 (GMT)
commitaaa9c60bc29750f7c09685635b6811c8041663cc (patch)
tree17edd1b5db5830591a943b98a1cf59c7e66539b7
parent0babae87ad71e6a7293b58d37c67a2389c312d22 (diff)
downloadhostap-aaa9c60bc29750f7c09685635b6811c8041663cc.zip
hostap-aaa9c60bc29750f7c09685635b6811c8041663cc.tar.gz
hostap-aaa9c60bc29750f7c09685635b6811c8041663cc.tar.bz2
Fix preauth_test build by updating add_pmkid/remove_pmkid callbacks
Commit c579312736163d8d038542408daaefad9659815d ('Add PMKSA-CACHE-ADDED/REMOVED events to wpa_supplicant') added new arguments to these callback functions, but forgot to update the implementations in preauth_test.c. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--wpa_supplicant/preauth_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/preauth_test.c b/wpa_supplicant/preauth_test.c
index f4bba98..6ae239f 100644
--- a/wpa_supplicant/preauth_test.c
+++ b/wpa_supplicant/preauth_test.c
@@ -143,7 +143,7 @@ static int wpa_supplicant_mlme_setprotection(void *wpa_s, const u8 *addr,
}
-static int wpa_supplicant_add_pmkid(void *wpa_s,
+static int wpa_supplicant_add_pmkid(void *wpa_s, void *network_ctx,
const u8 *bssid, const u8 *pmkid)
{
printf("%s - not implemented\n", __func__);
@@ -151,7 +151,7 @@ static int wpa_supplicant_add_pmkid(void *wpa_s,
}
-static int wpa_supplicant_remove_pmkid(void *wpa_s,
+static int wpa_supplicant_remove_pmkid(void *wpa_s, void *network_ctx,
const u8 *bssid, const u8 *pmkid)
{
printf("%s - not implemented\n", __func__);