From: Jouni Malinen Date: Sun, 23 Sep 2012 22:01:26 +0000 (+0300) Subject: Print control interface commands in easier format X-Git-Tag: hostap_2_0~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b470b2bf37ddf3730be94c62eb52812c4485e43c;p=thirdparty%2Fhostap.git Print control interface commands in easier format The ASCII hexdump is somewhat difficult to search for (especially on Android builds), so make the debug log easier to parse by printing the full control interface command as a text string. In addition, use wpa_dbg() to get the interface name printed so that multi-interface cases can be debugged. Signed-hostap: Jouni Malinen --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 51b6fdb1f..18cf4b3bc 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -4360,6 +4360,7 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s, level = MSG_EXCESSIVE; wpa_hexdump_ascii(level, "RX ctrl_iface", (const u8 *) buf, os_strlen(buf)); + wpa_dbg(wpa_s, level, "Control interface command '%s'", buf); } reply = os_malloc(reply_size);