]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Mark hostapd_gen_probe_resp() static
authorJouni Malinen <j@w1.fi>
Sun, 21 Jan 2024 20:09:07 +0000 (22:09 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Jan 2024 20:23:47 +0000 (22:23 +0200)
This function has been used only within beacon.c and it got accidentally
converted to a global function.

Fixes: 6b5e00a80e5f ("AP: Use a struct for Probe Response generation in/out params")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/beacon.c

index e6a989d07f8adaf363a84414e3076183125512a6..9fc73e2c3bb415593dcb6d91d8fde0fd672b6b9b 100644 (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;