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:
parent
3b1ad1334a
commit
ba6954874e
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue