Remove unused wpa_drv_set_ap()

This wrapper function was not used at all, so remove it to make it
clearer that the set_ap() driver op is called only from hostapd code.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2024-03-26 17:51:28 +02:00 committed by Jouni Malinen
parent 9be122d2e0
commit 666e954ca2

View file

@ -342,14 +342,6 @@ static inline int wpa_drv_update_ft_ies(struct wpa_supplicant *wpa_s,
return -1;
}
static inline int wpa_drv_set_ap(struct wpa_supplicant *wpa_s,
struct wpa_driver_ap_params *params)
{
if (wpa_s->driver->set_ap)
return wpa_s->driver->set_ap(wpa_s->drv_priv, params);
return -1;
}
static inline int wpa_drv_sta_add(struct wpa_supplicant *wpa_s,
struct hostapd_sta_add_params *params)
{