File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,8 @@ static void ws_bootstrap_llc_hopping_update(struct protocol_interface_info_entry
412412 memcpy (cur -> ws_info -> hopping_schdule .channel_mask , fhss_configuration -> channel_mask , sizeof (uint32_t ) * 8 );
413413 cur -> ws_info -> hopping_schdule .uc_fixed_channel = fhss_configuration -> unicast_fixed_channel ;
414414 cur -> ws_info -> hopping_schdule .bc_fixed_channel = fhss_configuration -> broadcast_fixed_channel ;
415- cur -> ws_info -> hopping_schdule .uc_channel_function = fhss_configuration -> ws_uc_channel_function ;
415+ // Read UC channel function from WS info because FHSS might be temporarily configured to fixed channel during discovery.
416+ cur -> ws_info -> hopping_schdule .uc_channel_function = cur -> ws_info -> fhss_uc_channel_function ;
416417 cur -> ws_info -> hopping_schdule .bc_channel_function = fhss_configuration -> ws_bc_channel_function ;
417418 cur -> ws_info -> hopping_schdule .fhss_bc_dwell_interval = fhss_configuration -> fhss_bc_dwell_interval ;
418419 cur -> ws_info -> hopping_schdule .fhss_broadcast_interval = fhss_configuration -> fhss_broadcast_interval ;
You can’t perform that action at this time.
0 commit comments