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
Šī revīzija ir iekļauta:

revīziju iesūtīja
nshrivas

vecāks
20331697db
revīzija
79d138972a
@@ -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;
|
||||
}
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user