Reduce debug verbosity on global ctrl_iface PING command

This matches with the earlier change that did the same for the
per-interface ctrl_iface commands.
This commit is contained in:
Jouni Malinen 2011-09-01 18:16:37 +03:00 committed by Jouni Malinen
parent a9355fac5f
commit f4a0a82ca6

View file

@ -3490,8 +3490,11 @@ char * wpa_supplicant_global_ctrl_iface_process(struct wpa_global *global,
char *reply;
const int reply_size = 2048;
int reply_len;
int level = MSG_DEBUG;
wpa_hexdump_ascii(MSG_DEBUG, "RX global ctrl_iface",
if (os_strcmp(buf, "PING") == 0)
level = MSG_EXCESSIVE;
wpa_hexdump_ascii(level, "RX global ctrl_iface",
(const u8 *) buf, os_strlen(buf));
reply = os_malloc(reply_size);