mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Update the sap ctx channel list according to acs cfg
Update the sap ctx channel list according to acs cfg, and not to sap_ctx->channel_list as it would get free in ACS scan callback, but acs cfg list would remain intact. Change-Id: I845d5cc3d025b0f2605027f517575f0ad70b07dc CRs-Fixed: 2478162
This commit is contained in:
parent
20331697db
commit
79d138972a
1 changed files with 2 additions and 2 deletions
|
|
@ -222,8 +222,8 @@ static uint8_t sap_random_channel_sel(struct sap_context *sap_ctx)
|
|||
ch_params->ch_width = ch_wd;
|
||||
if (sap_ctx->acs_cfg) {
|
||||
acs_info.acs_mode = sap_ctx->acs_cfg->acs_mode;
|
||||
acs_info.channel_list = sap_ctx->channelList;
|
||||
acs_info.num_of_channel = sap_ctx->num_of_channel;
|
||||
acs_info.channel_list = sap_ctx->acs_cfg->ch_list;
|
||||
acs_info.num_of_channel = sap_ctx->acs_cfg->ch_list_count;
|
||||
} else {
|
||||
acs_info.acs_mode = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue