From: scipio Date: Wed, 18 Apr 2007 17:11:29 +0000 (+0000) Subject: Call is needed. X-Git-Tag: tinyos/2.0.1~36 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=67e54a411715618a484a7873f31320c17c870f05 Call is needed. --- diff --git a/tos/lib/net/lqi/LqiForwardingEngineP.nc b/tos/lib/net/lqi/LqiForwardingEngineP.nc index d16baf6b..c52e80b4 100644 --- a/tos/lib/net/lqi/LqiForwardingEngineP.nc +++ b/tos/lib/net/lqi/LqiForwardingEngineP.nc @@ -271,7 +271,7 @@ implementation { dbg("LQI,LQIDeliver", "LQI Root is receiving packet from node %hu @%s\n", getHeader(msg)->originaddr, sim_time_string()); return signal Receive.receive[id](msg, payload, len); } - else if (call AMPacket.destination(msg) != AMPacket.address()) { + else if (call AMPacket.destination(msg) != call AMPacket.address()) { return msg; } else if (signal Intercept.forward[id](msg, payload, len)) {