From c05419060399efd918ea789fb8f660a86de9fd09 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 7 Dec 2014 23:58:06 +0200 Subject: [PATCH] Fix DUP_NETWORK debug print on error case Incorrect network id was printed in debug output if DUP_NETWORK destination network was not found. Signed-off-by: Jouni Malinen --- wpa_supplicant/ctrl_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 6bc9d8830..a70d2b538 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -2878,7 +2878,7 @@ static int wpa_supplicant_ctrl_iface_dup_network( ssid_d = wpa_config_get_network(wpa_s->conf, id_d); if (ssid_d == NULL) { wpa_printf(MSG_DEBUG, "CTRL_IFACE: Could not find " - "network id=%d", id_s); + "network id=%d", id_d); return -1; }