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: f2f8e4f458 ("Add PTKSA cache to hostapd")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2023-02-21 17:10:40 +02:00 committed by Jouni Malinen
parent 3b1ad1334a
commit ba6954874e

View file

@ -251,13 +251,14 @@ void wpa_auth_store_ptksa(struct wpa_authenticator *wpa_auth,
}
void wpa_auth_remove_ptksa(struct wpa_authenticator *wpa_auth,
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)
{