mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: update sap_ctx->ch_params after channel is selected
Old ch_width is set as invalid after radar detection, and can't be used anymore. Update sap_ctx->ch_params after channel is selected. Change-Id: I9e068785312d7072eeaeaa4b1aae4bd82d62d36f CRs-Fixed: 2178586
This commit is contained in:
parent
1ffeac8b37
commit
1f55b66040
1 changed files with 5 additions and 2 deletions
|
|
@ -972,8 +972,11 @@ static uint8_t sap_random_channel_sel(struct sap_context *sap_ctx)
|
|||
(void *)eSAP_STATUS_SUCCESS);
|
||||
return 0;
|
||||
}
|
||||
mac_ctx->sap.SapDfsInfo.new_chanWidth = ch_wd;
|
||||
|
||||
mac_ctx->sap.SapDfsInfo.new_chanWidth = ch_params->ch_width;
|
||||
sap_ctx->ch_params.ch_width = ch_params->ch_width;
|
||||
sap_ctx->ch_params.sec_ch_offset = ch_params->sec_ch_offset;
|
||||
sap_ctx->ch_params.center_freq_seg0 = ch_params->center_freq_seg0;
|
||||
sap_ctx->ch_params.center_freq_seg1 = ch_params->center_freq_seg1;
|
||||
return ch;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue