From c8cde358722d987ebd2bec726cf45fff5e6ad5f6 Mon Sep 17 00:00:00 2001 From: gnawali Date: Thu, 4 Sep 2008 23:08:08 +0000 Subject: [PATCH] after a few rounds of expts - enabling route trigger if we found a significantly better route --- tos/lib/net/ctp/CtpRoutingEngineP.nc | 2 -- 1 file changed, 2 deletions(-) diff --git a/tos/lib/net/ctp/CtpRoutingEngineP.nc b/tos/lib/net/ctp/CtpRoutingEngineP.nc index f0ef1f60..35293803 100644 --- a/tos/lib/net/ctp/CtpRoutingEngineP.nc +++ b/tos/lib/net/ctp/CtpRoutingEngineP.nc @@ -361,11 +361,9 @@ implementation { routeInfo.etx = best->info.etx; routeInfo.congested = best->info.congested; } - /* If we follow the CTP paper this should be in here. if (currentEtx - minEtx > 20) { call CtpInfo.triggerRouteUpdate(); } - */ } } -- 2.39.2