mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Fix invalid frequency in CSA
API sap_indicate_radar needs to return sap current frequency instead of channel. Change-Id: I62a4aae0604b11587a14d17d4c641262b8019ab3 CRs-Fixed: 2900489
This commit is contained in:
parent
2ceae1d5b4
commit
ba9abf85a5
1 changed files with 1 additions and 1 deletions
|
|
@ -3558,7 +3558,7 @@ qdf_freq_t sap_indicate_radar(struct sap_context *sap_ctx)
|
|||
mac->sap.SapDfsInfo.csaIERequired = true;
|
||||
|
||||
if (mac->mlme_cfg->dfs_cfg.dfs_disable_channel_switch)
|
||||
return wlan_reg_freq_to_chan(mac->pdev, sap_ctx->chan_freq);
|
||||
return sap_ctx->chan_freq;
|
||||
|
||||
/* set the Radar Found flag in SapDfsInfo */
|
||||
mac->sap.SapDfsInfo.sap_radar_found_status = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue