diff mbox series

ctrl: fix udp comiplation issue

Message ID 20221126182930.787552-1-janusz.dziedzic@gmail.com
State Accepted
Headers show
Series ctrl: fix udp comiplation issue | expand

Commit Message

Janusz Dziedzic Nov. 26, 2022, 6:29 p.m. UTC
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@gmail.com>
---
 wpa_supplicant/ctrl_iface_udp.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Jouni Malinen Nov. 27, 2022, 12:23 p.m. UTC | #1
On Sat, Nov 26, 2022 at 07:29:30PM +0100, Janusz Dziedzic wrote:
> Fix compilation issue when enable:
> CONFIG_CTRL_IFACE=udp-remote

Thanks, applied.
diff mbox series

Patch

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