mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Update the "radarfound channel" print with correct offset
When sub-channel marking is enabled, radarfound freq is computed as freq_center + freq_offset. Freq offset is obtained from dfs->dfs_freq_offset variable which gets populated only for PO (Partial Offload) chips and does not get populated for full offload chips. Instead radar_found->freq_offset is used which gets populated with radar freq_offset on all chips. Change-Id: I138b1160a8b9d67801bd0852266c2e7139265c02 CRs-Fixed: 2383294
This commit is contained in:
parent
45c6576e42
commit
c4080ec27b
1 changed files with 1 additions and 1 deletions
|
|
@ -732,7 +732,7 @@ QDF_STATUS dfs_process_radar_ind(struct wlan_dfs *dfs,
|
|||
}
|
||||
|
||||
dfs_compute_radar_found_cfreq(dfs, radar_found, &freq_center);
|
||||
radarfound_freq = freq_center + dfs->dfs_freq_offset;
|
||||
radarfound_freq = freq_center + radar_found->freq_offset;
|
||||
|
||||
if (radar_found->segment_id == SEG_ID_SECONDARY)
|
||||
dfs_info(dfs, WLAN_DEBUG_DFS_ALWAYS,
|
||||
|
|
|
|||
Loading…
Reference in a new issue