From 575c47a0428f9e9e8ffc785fd8829de57def5f83 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 15 Nov 2007 22:38:32 +0000 Subject: [PATCH] Fix probably where packets dropped because there was no recv() in place were being ACKed git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@381 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/common/up_blocktask.c | 4 ---- arch/arm/src/common/up_unblocktask.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/arch/arm/src/common/up_blocktask.c b/arch/arm/src/common/up_blocktask.c index b726044296..ed27d2e873 100644 --- a/arch/arm/src/common/up_blocktask.c +++ b/arch/arm/src/common/up_blocktask.c @@ -95,8 +95,6 @@ void up_block_task(_TCB *tcb, tstate_t task_state) _TCB *rtcb = (_TCB*)g_readytorun.head; boolean switch_needed; - lldbg("Blocking TCB=%p\n", tcb); - /* Remove the tcb task from the ready-to-run list. If we * are blocking the task at the head of the task list (the * most likely case), then a context switch to the next @@ -138,7 +136,6 @@ void up_block_task(_TCB *tcb, tstate_t task_state) */ rtcb = (_TCB*)g_readytorun.head; - lldbg("New Active Task TCB=%p\n", rtcb); /* Then switch contexts */ @@ -157,7 +154,6 @@ void up_block_task(_TCB *tcb, tstate_t task_state) */ rtcb = (_TCB*)g_readytorun.head; - lldbg("New Active Task TCB=%p\n", rtcb); /* Then switch contexts */ diff --git a/arch/arm/src/common/up_unblocktask.c b/arch/arm/src/common/up_unblocktask.c index 6f7afab7be..143c7ed7b7 100644 --- a/arch/arm/src/common/up_unblocktask.c +++ b/arch/arm/src/common/up_unblocktask.c @@ -91,8 +91,6 @@ void up_unblock_task(_TCB *tcb) { _TCB *rtcb = (_TCB*)g_readytorun.head; - lldbg("Unblocking TCB=%p\n", tcb); - /* Remove the task from the blocked task list */ sched_removeblocked(tcb); @@ -130,7 +128,6 @@ void up_unblock_task(_TCB *tcb) */ rtcb = (_TCB*)g_readytorun.head; - lldbg("New Active Task TCB=%p\n", rtcb); /* Then switch contexts */ @@ -151,7 +148,6 @@ void up_unblock_task(_TCB *tcb) */ rtcb = (_TCB*)g_readytorun.head; - lldbg("New Active Task TCB=%p\n", rtcb); /* Then switch contexts */