* Don't request MAC level ACKs for packets we "try" to forward before
we have a route.
This commit is contained in:
parent
58bbd0b4da
commit
bea6aa5b3d
|
@ -47,6 +47,7 @@ cc2420_send_uaodv(void)
|
||||||
|
|
||||||
if (route == NULL) {
|
if (route == NULL) {
|
||||||
h.dst = next_gw->u16[1]; /* try local while waiting for route */
|
h.dst = next_gw->u16[1]; /* try local while waiting for route */
|
||||||
|
h.fc0 &= ~FC0_REQ_ACK; /* but don't request an ACK. */
|
||||||
} else {
|
} else {
|
||||||
if (cc2420_check_remote(route->nexthop.u16[1]) == 1) {
|
if (cc2420_check_remote(route->nexthop.u16[1]) == 1) {
|
||||||
printf("LOST 0x%04x\n", route->nexthop.u16[1]);
|
printf("LOST 0x%04x\n", route->nexthop.u16[1]);
|
||||||
|
|
Loading…
Reference in a new issue