[PATCH] ctrl: fix udp comiplation issue

Janusz Dziedzic janusz.dziedzic at gmail.com
Sat Nov 26 10:29:30 PST 2022


Fix compilation issue when enable:
CONFIG_CTRL_IFACE=udp-remote

Fixes: 0aae045af (ctrl: Print the source address of the received commands)
Signed-off-by: Janusz Dziedzic <janusz.dziedzic at gmail.com>
---
 wpa_supplicant/ctrl_iface_udp.c | 3 ---
 1 file changed, 3 deletions(-)

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);
 	}
-- 
2.25.1




More information about the Hostap mailing list