From 722f3c7e851d36890cd6fc33b9cb5c96b1ad496b Mon Sep 17 00:00:00 2001 From: fros4943 Date: Sun, 22 Oct 2006 11:29:05 +0000 Subject: [PATCH] bug fix causing several quick resends to be destroyed --- platform/cooja/dev/radio-arch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/cooja/dev/radio-arch.c b/platform/cooja/dev/radio-arch.c index 6c0256a8d..032a9fe80 100644 --- a/platform/cooja/dev/radio-arch.c +++ b/platform/cooja/dev/radio-arch.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: radio-arch.c,v 1.10 2006/10/11 15:14:56 fros4943 Exp $ + * $Id: radio-arch.c,v 1.11 2006/10/22 11:29:05 fros4943 Exp $ */ #include "dev/radio-arch.h" @@ -180,7 +180,7 @@ simDoSend(void) simTransmitting = 1; // Busy-wait while transmitting - if (simTransmitting && !simNoYield) { + while (simTransmitting && !simNoYield) { cooja_mt_yield(); }