Major bugfix: when nullrdc is asked to send a list of packets, send the list of packets and not just the first packet - this is essential for retransmissions of fragmented IP packets to work
This commit is contained in:
parent
2ba293a538
commit
7742b05d8c
1 changed files with 2 additions and 1 deletions
|
@ -208,9 +208,10 @@ send_packet(mac_callback_t sent, void *ptr)
|
||||||
static void
|
static void
|
||||||
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
||||||
{
|
{
|
||||||
if(buf_list != NULL) {
|
while(buf_list != NULL) {
|
||||||
queuebuf_to_packetbuf(buf_list->buf);
|
queuebuf_to_packetbuf(buf_list->buf);
|
||||||
send_packet(sent, ptr);
|
send_packet(sent, ptr);
|
||||||
|
buf_list = buf_list->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue