Remove duplicated RX ctrl_iface hexdump

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>
This commit is contained in:
Jouni Malinen 2014-01-04 07:16:32 +02:00
parent 6be79541ad
commit 9595151f3f

View file

@ -5360,8 +5360,6 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
int level = MSG_DEBUG; int level = MSG_DEBUG;
if (os_strcmp(buf, "PING") == 0) if (os_strcmp(buf, "PING") == 0)
level = MSG_EXCESSIVE; 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); wpa_dbg(wpa_s, level, "Control interface command '%s'", buf);
} }