From: gnawali Date: Sat, 19 Sep 2009 13:26:59 +0000 (+0000) Subject: fix to bug reported by Mehmet Akif Antepli - bogus link thresholding X-Git-Tag: rc_6_tinyos_2_1_1~229 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=96329ac147c7cb9ee534cf9bf7a8ae8c936f7257 fix to bug reported by Mehmet Akif Antepli - bogus link thresholding --- diff --git a/tos/lib/net/ctp/CtpRoutingEngineP.nc b/tos/lib/net/ctp/CtpRoutingEngineP.nc index ec0d0acd..1f8a484c 100644 --- a/tos/lib/net/ctp/CtpRoutingEngineP.nc +++ b/tos/lib/net/ctp/CtpRoutingEngineP.nc @@ -242,7 +242,6 @@ implementation { /* Is this quality measure better than the minimum threshold? */ // Implemented assuming quality is EETX bool passLinkEtxThreshold(uint16_t etx) { - return TRUE; return (etx < ETX_THRESHOLD); }