summaryrefslogtreecommitdiff
path: root/nuttx/net/iob/iob_alloc_qentry.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/iob/iob_alloc_qentry.c')
-rw-r--r--nuttx/net/iob/iob_alloc_qentry.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/net/iob/iob_alloc_qentry.c b/nuttx/net/iob/iob_alloc_qentry.c
index 21314c011..43813a269 100644
--- a/nuttx/net/iob/iob_alloc_qentry.c
+++ b/nuttx/net/iob/iob_alloc_qentry.c
@@ -39,6 +39,13 @@
#include <nuttx/config.h>
+#if defined(CONFIG_DEBUG) && defined(CONFIG_NET_IOB_DEBUG)
+/* Force debug output (from this file only) */
+
+# undef CONFIG_DEBUG_NET
+# define CONFIG_DEBUG_NET 1
+#endif
+
#include <semaphore.h>
#include <assert.h>