From aaa9c60bc29750f7c09685635b6811c8041663cc Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 14 Dec 2016 16:38:44 +0200 Subject: [PATCH] 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 --- wpa_supplicant/preauth_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wpa_supplicant/preauth_test.c b/wpa_supplicant/preauth_test.c index f4bba98e2..6ae239f79 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__);