aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-08-27 15:01:35 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-08-27 15:01:35 -0700
commit89e1d076d3c209d5a6b5eb3e43c41d9176058ff4 (patch)
treea4e827e828b1cf01b784c5de8cc8cc949accbeb6
parentad266fb3da6083126e7619e525153839b918aa44 (diff)
downloadexternal_wpa_supplicant_8-89e1d076d3c209d5a6b5eb3e43c41d9176058ff4.zip
external_wpa_supplicant_8-89e1d076d3c209d5a6b5eb3e43c41d9176058ff4.tar.gz
external_wpa_supplicant_8-89e1d076d3c209d5a6b5eb3e43c41d9176058ff4.tar.bz2
Debug-print command only in case of interface prefix
Change-Id: If0054e8f7f4ffb2d559207d8939235938ae19f18 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--wpa_supplicant/ctrl_iface_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ctrl_iface_unix.c b/wpa_supplicant/ctrl_iface_unix.c
index 31600fc..67a0a8b 100644
--- a/wpa_supplicant/ctrl_iface_unix.c
+++ b/wpa_supplicant/ctrl_iface_unix.c
@@ -184,8 +184,8 @@ static void wpa_supplicant_ctrl_iface_receive(int sock, void *eloop_ctx,
wpa_s = eloop_ctx;
}
os_memmove(ifname, ifend, strlen(ifend) + 1);
+ wpa_printf(MSG_INFO, "wpa_s %p cmd %s", wpa_s, buf);
}
- wpa_printf(MSG_INFO, "wpa_s %p cmd %s", wpa_s, buf);
#endif /* defined CONFIG_P2P && defined ANDROID_P2P */
reply = wpa_supplicant_ctrl_iface_process(wpa_s, buf,
&reply_len);