Mark hostapd_gen_probe_resp() static

This function has been used only within beacon.c and it got accidentally
converted to a global function.

Fixes: 6b5e00a80e ("AP: Use a struct for Probe Response generation in/out params")
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2024-01-21 22:09:07 +02:00
parent 512b925240
commit 93eab9f0fa

View file

@ -889,8 +889,8 @@ static u8 * hostapd_probe_resp_fill_elems(struct hostapd_data *hapd,
}
void hostapd_gen_probe_resp(struct hostapd_data *hapd,
struct probe_resp_params *params)
static void hostapd_gen_probe_resp(struct hostapd_data *hapd,
struct probe_resp_params *params)
{
u8 *pos;
size_t buflen;