From: Janusz Dziedzic Date: Sat, 26 Nov 2022 18:29:30 +0000 (+0100) Subject: ctrl: Fix compilation with UDP control interface X-Git-Tag: hostap_2_11~1476 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f739c71ce34d00ed3a62317efa77f7af695fedf;p=thirdparty%2Fhostap.git ctrl: Fix compilation with UDP control interface 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 --- diff --git a/wpa_supplicant/ctrl_iface_udp.c b/wpa_supplicant/ctrl_iface_udp.c index 1178f406c..1cbf7fa28 100644 --- a/wpa_supplicant/ctrl_iface_udp.c +++ b/wpa_supplicant/ctrl_iface_udp.c @@ -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); }