From b870bd91e7bd47d0bec9aedf5914b0ef5340ae66 Mon Sep 17 00:00:00 2001 From: gnawali Date: Mon, 28 Apr 2008 04:29:37 +0000 Subject: [PATCH] ECN bit was not being set properly --- apps/tests/TestNetwork/TestNetworkC.nc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tests/TestNetwork/TestNetworkC.nc b/apps/tests/TestNetwork/TestNetworkC.nc index fe3d41fc..28e248f0 100644 --- a/apps/tests/TestNetwork/TestNetworkC.nc +++ b/apps/tests/TestNetwork/TestNetworkC.nc @@ -142,7 +142,7 @@ implementation { dbg("TestNetworkC", "Received packet at %s from node %hhu.\n", sim_time_string(), call CollectionPacket.getOrigin(msg)); call Leds.led1Toggle(); if (!call Pool.size() <= (TEST_NETWORK_QUEUE_SIZE < 4)? 1:3) { - call CtpCongestion.setClientCongested(TRUE); + // call CtpCongestion.setClientCongested(TRUE); } if (!call Pool.empty() && call Queue.size() < call Queue.maxSize()) { message_t* tmp = call Pool.get(); @@ -183,7 +183,7 @@ implementation { post uartEchoTask(); } else { - call CtpCongestion.setClientCongested(FALSE); + // call CtpCongestion.setClientCongested(FALSE); } } -- 2.39.2