From: Jouni Malinen Date: Tue, 21 Feb 2023 15:10:40 +0000 (+0200) Subject: Mark wpa_auth_remove_ptksa() static X-Git-Tag: hostap_2_11~1285 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba6954874e60a598a2010e467c03444709c241ad;p=thirdparty%2Fhostap.git Mark wpa_auth_remove_ptksa() static This function is not used outside wpa_auth.c and it is not mentioned in any header file either, so it should have been marked static. Fixes: f2f8e4f45830 ("Add PTKSA cache to hostapd") Signed-off-by: Jouni Malinen --- diff --git a/src/ap/wpa_auth.c b/src/ap/wpa_auth.c index b048f0e25..c4fc3c5ad 100644 --- a/src/ap/wpa_auth.c +++ b/src/ap/wpa_auth.c @@ -251,13 +251,14 @@ void wpa_auth_store_ptksa(struct wpa_authenticator *wpa_auth, } -void wpa_auth_remove_ptksa(struct wpa_authenticator *wpa_auth, - const u8 *addr, int cipher) +static void wpa_auth_remove_ptksa(struct wpa_authenticator *wpa_auth, + const u8 *addr, int cipher) { if (wpa_auth->cb->clear_ptksa) wpa_auth->cb->clear_ptksa(wpa_auth->cb_ctx, addr, cipher); } + void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, logger_level level, const char *txt) {