ctrl: Fix compilation with UDP control interface

Fix compilation issue when using the following build parameter:
CONFIG_CTRL_IFACE=udp-remote

Fixes: 0aae045af0 ("ctrl: Print the source address of the received commands")
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
This commit is contained in:
Janusz Dziedzic 2022-11-26 19:29:30 +01:00 committed by Jouni Malinen
parent 6d45481870
commit 2f739c71ce

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