File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -898,11 +898,15 @@ static void ws_bootstrap_pan_advertisement_analyse_active(struct protocol_interf
898
898
* that of the receiving node, and PAN-IE / Routing Cost better than (smaller than) that of the receiving node.
899
899
*
900
900
*/
901
-
901
+ if (cur -> bootsrap_mode == ARM_NWK_BOOTSRAP_MODE_6LoWPAN_BORDER_ROUTER ) {
902
+ //Border router never set consistent that will guarantee that BR will send advertisment
903
+ return ;
904
+ }
902
905
#ifdef WISUN_1_0_ERRATA_FIX
903
- (void )pan_information ;
904
- // All messages are considered as consistent only Solicit will cause inconsistent
905
- trickle_consistent_heard (& cur -> ws_info -> trickle_pan_advertisement );
906
+ if (pan_information -> pan_size == cur -> ws_info -> pan_information .pan_size ) {
907
+ //If same pan size information then set consistent value
908
+ trickle_consistent_heard (& cur -> ws_info -> trickle_pan_advertisement );
909
+ }
906
910
#else
907
911
// Wi-SUN 1.0 specified functionality, causes extra inconsistencies when we hear higher rank advertisements
908
912
if (pan_information -> routing_cost >= ws_bootstrap_routing_cost_calculate (cur )) {
You can’t perform that action at this time.
0 commit comments