]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
ECN bit was not being set properly
authorgnawali <gnawali>
Mon, 28 Apr 2008 04:29:37 +0000 (04:29 +0000)
committergnawali <gnawali>
Mon, 28 Apr 2008 04:29:37 +0000 (04:29 +0000)
apps/tests/TestNetwork/TestNetworkC.nc

index fe3d41fc3cf7b5464fbabde00aacbe2de462356e..28e248f0d3e42589b593df059c1a1ee2a278b88c 100644 (file)
@@ -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);
     }
   }