]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Fix for bug found by Ricardo Tiago.
authorscipio <scipio>
Fri, 19 Jan 2007 19:15:18 +0000 (19:15 +0000)
committerscipio <scipio>
Fri, 19 Jan 2007 19:15:18 +0000 (19:15 +0000)
tos/lib/tossim/TossimPacketModelC.nc

index bfe6d2fff79d83ab7322fcb8cb7aa48cc9c5b6aa..8e503ca645f959bde1ec5f1dfd3e33e8f367357c 100644 (file)
@@ -292,7 +292,7 @@ implementation {
   }
 
   event bool GainRadioModel.shouldAck(message_t* msg) {
-    if (running) {
+    if (running && !transmitting) {
       return signal Packet.shouldAck(msg);
     }
     else {