summaryrefslogtreecommitdiff
path: root/nuttx/net/tcp/tcp_wrbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/tcp/tcp_wrbuffer.c')
-rw-r--r--nuttx/net/tcp/tcp_wrbuffer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/net/tcp/tcp_wrbuffer.c b/nuttx/net/tcp/tcp_wrbuffer.c
index 21da66cb0..df73fb049 100644
--- a/nuttx/net/tcp/tcp_wrbuffer.c
+++ b/nuttx/net/tcp/tcp_wrbuffer.c
@@ -128,6 +128,9 @@ void tcp_wrbuffer_initialize(void)
* the free list. This function is called from TCP logic when a buffer
* of TCP data is about to sent
*
+ * Input parameters:
+ * None
+ *
* Assumptions:
* Called from user logic with interrupts enabled.
*
@@ -157,7 +160,7 @@ FAR struct tcp_wrbuffer_s *tcp_wrbuffer_alloc(void)
/* Now get the first I/O buffer for the write buffer structure */
- wrb->wb_iob = iob_alloc();
+ wrb->wb_iob = iob_alloc(false);
if (!wrb->wb_iob)
{
ndbg("ERROR: Failed to allocate I/O buffer\n");