summaryrefslogtreecommitdiff
path: root/nuttx/net/net_send_buffered.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/net_send_buffered.c')
-rw-r--r--nuttx/net/net_send_buffered.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/net/net_send_buffered.c b/nuttx/net/net_send_buffered.c
index 5005e1a5f..60f2a6134 100644
--- a/nuttx/net/net_send_buffered.c
+++ b/nuttx/net/net_send_buffered.c
@@ -43,6 +43,13 @@
#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) && \
defined(CONFIG_NET_TCP_WRITE_BUFFERS)
+#if defined(CONFIG_DEBUG) && defined(CONFIG_NET_TCP_WRBUFFER_DEBUG)
+/* Force debug output (from this file only) */
+
+# undef CONFIG_DEBUG_NET
+# define CONFIG_DEBUG_NET 1
+#endif
+
#include <sys/types.h>
#include <sys/socket.h>