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:
parent
a9355fac5f
commit
f4a0a82ca6
1 changed files with 4 additions and 1 deletions
|
@ -3490,8 +3490,11 @@ char * wpa_supplicant_global_ctrl_iface_process(struct wpa_global *global,
|
||||||
char *reply;
|
char *reply;
|
||||||
const int reply_size = 2048;
|
const int reply_size = 2048;
|
||||||
int reply_len;
|
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));
|
(const u8 *) buf, os_strlen(buf));
|
||||||
|
|
||||||
reply = os_malloc(reply_size);
|
reply = os_malloc(reply_size);
|
||||||
|
|
Loading…
Reference in a new issue