]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Fix bug in link estimator packet payload get. The old version
authorscipio <scipio>
Sat, 27 Oct 2007 00:07:56 +0000 (00:07 +0000)
committerscipio <scipio>
Sat, 27 Oct 2007 00:07:56 +0000 (00:07 +0000)
commite20f836a07475e6653e609dc9c86c096fbb2f263
tree586cf2d3120551e09d17431de4468f275a57a0cd
parent582af5c7806051948123e61bba4fc0cfc2c17462
Fix bug in link estimator packet payload get. The old version
considered the LE header when calculating a valid payload. THis
is problematic if you receive a packet with a large footer, but
want to send a packet with a large payload: the getPayload() would
incorrectly only let you get a small payload and so return NULL.
This is probably the first instance I've seen where clear() might
have been useful....
tos/lib/net/4bitle/LinkEstimatorP.nc