Skip to content

Commit 1fdee20

Browse files
author
Juha Heiskanen
committed
Wi-sun keep all candidates alive by NUD.
1 parent bd746da commit 1fdee20

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ static bool ws_neighbor_entry_nud_notify(mac_neighbor_table_entry_t *entry_ptr,
18211821
return false;
18221822
}
18231823

1824-
if (!rpl_control_is_dodag_parent_candidate(cur, ll_address, WS_NEIGHBOUR_MAX_CANDIDATE_PROBE)) {
1824+
if (!rpl_control_is_dodag_parent_candidate(cur, ll_address, 0)) {
18251825
//NUD Not needed for if neighbour is not parent candidate
18261826
return false;
18271827
}

source/6LoWPAN/ws/ws_common_defines.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ typedef struct ws_bs_ie {
242242

243243
#define WS_NEIGHBOR_ETX_SAMPLE_MAX 3
244244
#define WS_NEIGHBOR_FIRST_ETX_SAMPLE_MIN_COUNT 3 //This can't be bigger than WS_NEIGHBOR_ETX_SAMPLE_MAX
245-
#define WS_NEIGHBOUR_MAX_CANDIDATE_PROBE 5
246245

247246
#define WS_PROBE_INIT_BASE_SECONDS 8
248247

0 commit comments

Comments
 (0)