From: gnawali Date: Mon, 29 Sep 2008 19:24:37 +0000 (+0000) Subject: senddone return value comply with the Send interface specification X-Git-Tag: rc_6_tinyos_2_1_1~596 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=729c2ae97fd4657e60118af9793374124358a925 senddone return value comply with the Send interface specification --- diff --git a/tos/lib/net/ctp/CtpForwardingEngineP.nc b/tos/lib/net/ctp/CtpForwardingEngineP.nc index df59dfbb..538fb646 100644 --- a/tos/lib/net/ctp/CtpForwardingEngineP.nc +++ b/tos/lib/net/ctp/CtpForwardingEngineP.nc @@ -576,7 +576,7 @@ implementation { // two is different. if (qe->client < CLIENT_COUNT) { // Client packet clientPtrs[qe->client] = qe; - signal Send.sendDone[qe->client](msg, FAIL); + signal Send.sendDone[qe->client](msg, SUCCESS); call CollectionDebug.logEventMsg(NET_C_FE_SENDDONE_FAIL_ACK_SEND, call CollectionPacket.getSequenceNumber(msg), call CollectionPacket.getOrigin(msg),