@@ -1475,7 +1475,7 @@ static void ws_bootstrap_pan_config_analyse(struct protocol_interface_info_entry
14751475 if (neighbour_pointer_valid ) {
14761476 etx_lqi_dbm_update (cur -> id , data -> mpduLinkQuality , data -> signal_dbm , neighbor_info .neighbor -> index , neighbor_info .neighbor -> mac64 );
14771477 //Update Neighbor Broadcast and Unicast Parameters
1478- ws_neighbor_class_neighbor_unicast_time_info_update (neighbor_info .ws_neighbor , ws_utt , data -> timestamp );
1478+ ws_neighbor_class_neighbor_unicast_time_info_update (neighbor_info .ws_neighbor , ws_utt , data -> timestamp , ( uint8_t * ) data -> SrcAddr );
14791479 ws_neighbor_class_neighbor_unicast_schedule_set (neighbor_info .ws_neighbor , ws_us , & cur -> ws_info -> hopping_schdule );
14801480 ws_neighbor_class_neighbor_broadcast_time_info_update (neighbor_info .ws_neighbor , & ws_bt_ie , data -> timestamp );
14811481 ws_neighbor_class_neighbor_broadcast_schedule_set (neighbor_info .ws_neighbor , & ws_bs_ie );
@@ -1559,7 +1559,7 @@ static void ws_bootstrap_pan_config_solicit_analyse(struct protocol_interface_in
15591559 llc_neighbour_req_t neighbor_info ;
15601560 if (ws_bootstrap_neighbor_info_request (cur , data -> SrcAddr , & neighbor_info , false)) {
15611561 etx_lqi_dbm_update (cur -> id , data -> mpduLinkQuality , data -> signal_dbm , neighbor_info .neighbor -> index , neighbor_info .neighbor -> mac64 );
1562- ws_neighbor_class_neighbor_unicast_time_info_update (neighbor_info .ws_neighbor , ws_utt , data -> timestamp );
1562+ ws_neighbor_class_neighbor_unicast_time_info_update (neighbor_info .ws_neighbor , ws_utt , data -> timestamp , ( uint8_t * ) data -> SrcAddr );
15631563 ws_neighbor_class_neighbor_unicast_schedule_set (neighbor_info .ws_neighbor , ws_us , & cur -> ws_info -> hopping_schdule );
15641564 }
15651565
@@ -3268,7 +3268,7 @@ static int8_t ws_bootstrap_neighbor_set(protocol_interface_info_entry_t *cur, pa
32683268 return -1 ;
32693269 }
32703270 ws_bootstrap_neighbor_set_stable (cur , parent_ptr -> addr );
3271- ws_neighbor_class_neighbor_unicast_time_info_update (neighbor_info .ws_neighbor , & parent_ptr -> ws_utt , parent_ptr -> timestamp );
3271+ ws_neighbor_class_neighbor_unicast_time_info_update (neighbor_info .ws_neighbor , & parent_ptr -> ws_utt , parent_ptr -> timestamp , parent_ptr -> addr );
32723272 ws_neighbor_class_neighbor_unicast_schedule_set (neighbor_info .ws_neighbor , & parent_ptr -> ws_us , & cur -> ws_info -> hopping_schdule );
32733273 return 0 ;
32743274}
0 commit comments