mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2025-01-22 08:11:47 -05:00
skip printing BSSIDs in debug output
This commit is contained in:
parent
20f48c01a6
commit
f4f4fc4746
1 changed files with 8 additions and 2 deletions
|
@ -863,7 +863,10 @@ void *sync_with_console_internal(void *data)
|
|||
|
||||
actual_buf_len = buf_len;
|
||||
wpa_ctrl_recv(args->ctrl, buf, &actual_buf_len);
|
||||
print_info("CRED RECV: %.*s", buf_len, buf);
|
||||
if (!strstr(buf, "CTRL-EVENT-BSS-ADDED")
|
||||
&& !strstr(buf, "CTRL-EVENT-BSS-REMOVED")) {
|
||||
print_info("CRED RECV: %.*s", buf_len, buf);
|
||||
}
|
||||
|
||||
if (!memcmp("<3>WPS-CRED-RECEIVED", buf, 20)) {
|
||||
print_info("RECEIVED AUTHENTICATION FROM CONSOLE");
|
||||
|
@ -907,7 +910,10 @@ void *do_connect(void *data)
|
|||
char buf[1024];
|
||||
size_t actual_buf_len = sizeof(buf);
|
||||
wpa_ctrl_recv(args->ctrl, buf, &actual_buf_len);
|
||||
print_info("CONN RECV: %.*s", actual_buf_len, buf);
|
||||
if (!strstr(buf, "CTRL-EVENT-BSS-ADDED")
|
||||
&& !strstr(buf, "CTRL-EVENT-BSS-REMOVED")) {
|
||||
print_info("CONN RECV: %.*s", actual_buf_len, buf);
|
||||
}
|
||||
|
||||
if (memcmp(buf, "<3>CTRL-EVENT-CONNECTED", 23) == 0) {
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue