]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Patch from John Regehr. Make queue catch it when the underlying radio
authorscipio <scipio>
Fri, 13 Apr 2007 17:31:15 +0000 (17:31 +0000)
committerscipio <scipio>
Fri, 13 Apr 2007 17:31:15 +0000 (17:31 +0000)
commitb77b7e339aec20be27c172d80ecad499520f83ec
tree9406009dd5a01f42fc8d4e35d490937bf1632f38
parent29e801c794991fa16027bffe66e7e5dc06f35d30
Patch from John Regehr. Make queue catch it when the underlying radio
stack issues a spurious sendDone. Currently, if the queue is empty this
will cause it to access invalid memory (past the end of an array).

The real bug is the spurious sendDone, which he observed on the mica2.
However, until this bug is fixed, we need to catch it.
tos/system/AMQueueImplP.nc