mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
While here: Remake patches with "make makepatch" PR: 213783 Submitted by: <rs.os@t-online.de>
23 lines
568 B
C
23 lines
568 B
C
--- src/common/wpa_ctrl.c.orig 2015-09-27 19:02:05 UTC
|
|
+++ src/common/wpa_ctrl.c
|
|
@@ -477,6 +477,10 @@ int wpa_ctrl_request(struct wpa_ctrl *ct
|
|
char *cmd_buf = NULL;
|
|
size_t _cmd_len;
|
|
|
|
+#ifndef QT_NO_DEBUG
|
|
+ fprintf(stderr, "CMD-SEND: %*s\n", cmd_len, cmd);
|
|
+#endif // QT_NO_DEBUG
|
|
+
|
|
#ifdef CONFIG_CTRL_IFACE_UDP
|
|
if (ctrl->cookie) {
|
|
char *pos;
|
|
@@ -554,6 +558,9 @@ retry_send:
|
|
continue;
|
|
}
|
|
*reply_len = res;
|
|
+#ifndef QT_NO_DEBUG
|
|
+ fprintf(stderr, "CMD-RECV: %*s\n", *reply_len, reply);
|
|
+#endif // QT_NO_DEBUG
|
|
break;
|
|
} else {
|
|
return -2;
|