collect_send() should return 0 if the packet could not be enqueued to be sent
This commit is contained in:
parent
dc426d789b
commit
154f971b2b
|
@ -1452,6 +1452,7 @@ collect_send(struct collect_conn *tc, int rexmits)
|
||||||
rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1]);
|
rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1]);
|
||||||
printf("%d.%d: drop originated packet: no queuebuf\n",
|
printf("%d.%d: drop originated packet: no queuebuf\n",
|
||||||
rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1]);
|
rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1]);
|
||||||
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue