Skip to content

Commit 5e89e16

Browse files
author
Juha Heiskanen
committed
Fix ARO register failure handler:
Call proper neighbor remove which clean all data behind failing link. Change-Id: I768d27c762ad6097e8d1751d7ae2ea7c524f86db
1 parent 81cd273 commit 5e89e16

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,8 +1563,7 @@ int ws_bootstrap_neighbor_remove(protocol_interface_info_entry_t *cur, const uin
15631563
mac_neighbor_table_entry_t *mac_neighbor = mac_neighbor_entry_get_by_ll64(mac_neighbor_info(cur), ll_address, false, NULL);
15641564

15651565
if (mac_neighbor) {
1566-
ws_bootstrap_neighbor_delete(cur, mac_neighbor->index);
1567-
// TODO Add to blacklist
1566+
mac_neighbor_table_neighbor_remove(mac_neighbor_info(cur), mac_neighbor);
15681567
}
15691568
return 0;
15701569
}

0 commit comments

Comments
 (0)