Skip to content

Commit 61ebe10

Browse files
author
Juha Heiskanen
committed
Removed RPL version number increment.
Change-Id: Ia5df761f39da359f9127c89a2dde21be60293ad8
1 parent b423c46 commit 61ebe10

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

source/6LoWPAN/ws/ws_bbr_api.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,13 +497,6 @@ void ws_bbr_seconds_timer(protocol_interface_info_entry_t *cur, uint32_t seconds
497497
if (cur->ws_info->network_size_config == NETWORK_SIZE_AUTOMATIC) {
498498
ws_common_network_size_configure(cur, cur->ws_info->pan_information.pan_size);
499499
}
500-
// We update the RPL version in same time to allow nodes to reselect parent
501-
// As configuration is made so that devices cant move downward in dodag this allows it
502-
// Version number update is only done if DoDAG MAX Rank Increase parameter is 0
503-
if (rpl_conf.dag_max_rank_increase == 0 && cur->ws_info->pan_information.pan_version && cur->ws_info->pan_information.pan_version % RPL_VERSION_LIFETIME / cur->ws_info->pan_version_timer == 0) {
504-
// Third the rate of configuration version change at default 5 hours
505-
rpl_control_increment_dodag_version(protocol_6lowpan_rpl_root_dodag);
506-
}
507500
}
508501

509502
}

0 commit comments

Comments
 (0)