]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/lqi/LqiForwardingEngineP.nc
Call is needed.
[tinyos-2.x.git] / tos / lib / net / lqi / LqiForwardingEngineP.nc
index d16baf6bf3c5426775c1a9b33a79f74edf826930..c52e80b412467859b2155afc82445ace9d04cc04 100644 (file)
@@ -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)) {