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:
parent
926e1937cc
commit
2c1b516c8e
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user