]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove duplicated RX ctrl_iface hexdump
authorJouni Malinen <j@w1.fi>
Sat, 4 Jan 2014 05:16:32 +0000 (07:16 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 5 Jan 2014 20:33:18 +0000 (22:33 +0200)
The newer wpa_dbg() print includes the same information in a more
convenient form, so remove the duplicate RX ctrl_iface hexdump in the
cases where there is no key material in the control interface commands
(the possible-key-material case is still using wpa_hexdump_ascii_key).

Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/ctrl_iface.c

index 03b5e17241d1187c4cd43883d0421c770af9506d..c9e36b19459dde8d99f29a0ab84a14b0d172cf08 100644 (file)
@@ -5360,8 +5360,6 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
                int level = MSG_DEBUG;
                if (os_strcmp(buf, "PING") == 0)
                        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);
        }