Skip to content

Commit e2d46b9

Browse files
author
Juha Heiskanen
committed
wi-sun neagtive ARO missing ACK update
Added generic ws_common_aro_failure() for adding black list and neighbour remove.
1 parent 443f03f commit e2d46b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/Common_Protocols/icmpv6.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +1388,9 @@ static void icmpv6_aro_cb(buffer_t *buf, uint8_t status)
13881388
ll_address[8] ^= 2;
13891389
}
13901390
rpl_control_address_register_done(buf->interface, ll_address, status);
1391+
if (status != SOCKET_TX_DONE) {
1392+
ws_common_aro_failure(buf->interface, ll_address);
1393+
}
13911394
}
13921395

13931396
buffer_t *icmpv6_build_ns(protocol_interface_info_entry_t *cur, const uint8_t target_addr[16], const uint8_t *prompting_src_addr, bool unicast, bool unspecified_source, const aro_t *aro)

0 commit comments

Comments
 (0)