From e4f644f7b18b3f2e9a98c752d645a529f5cb9daf Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Mon, 17 Jan 2011 07:41:44 -0500 Subject: [PATCH] fix a race condition regarding advancement of the softclock. Without this, the advancment would fail to trigger a tx cycle occasionally. This would cause the packet to get deferred until the next expiration of the softclock. --- lib/maca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/maca.c b/lib/maca.c index 43fc4a264..0936eb3b0 100644 --- a/lib/maca.c +++ b/lib/maca.c @@ -461,7 +461,7 @@ void tx_packet(volatile packet_t *p) { if(bit_is_set(*NIPEND, INT_NUM_MACA)) { *INTFRC = (1 << INT_NUM_MACA); } if(last_post == NO_POST) { *INTFRC = (1<