]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
ctrl: Fix compilation with UDP control interface
authorJanusz Dziedzic <janusz.dziedzic@gmail.com>
Sat, 26 Nov 2022 18:29:30 +0000 (19:29 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 27 Nov 2022 12:18:53 +0000 (14:18 +0200)
Fix compilation issue when using the following build parameter:
CONFIG_CTRL_IFACE=udp-remote

Fixes: 0aae045af0c5 ("ctrl: Print the source address of the received commands")
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
wpa_supplicant/ctrl_iface_udp.c

index 1178f406cc16b85d524b2cf5c0451f75d497d689..1cbf7fa28d3f9bdd7ff508b8c85654b9f474d063 100644 (file)
@@ -337,9 +337,6 @@ static void wpa_supplicant_ctrl_iface_receive(int sock, void *eloop_ctx,
                else
                        reply_len = 2;
        } else {
-               sockaddr_print(wpas_ctrl_cmd_debug_level(buf),
-                              "Control interface recv command from:",
-                              &from, fromlen);
                reply = wpa_supplicant_ctrl_iface_process(wpa_s, pos,
                                                          &reply_len);
        }