1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sixlowpan_frag: another bugfix for reassembly

This commit is contained in:
Martine Lenders 2015-05-09 16:18:16 +02:00
parent 926e1937cc
commit 2c1b516c8e

View File

@ -295,7 +295,7 @@ static rbuf_t *_rbuf_get(const void *src, size_t src_len,
}
/* if there is a free spot: remember it */
if ((res == NULL) && (rbuf[i].cur_size == 0)) {
if ((res == NULL) && (rbuf[i].pkt == NULL)) {
res = &(rbuf[i]);
}
}