qcacld-3.0: Rename last_acs_channel_list to last_acs_freq_list

This member renamed by another change recently, and change here
accordingly to avoid compilation issue.

Change-Id: I65903cdb5255deca4b4a83daceec178790e76501
CRs-Fixed: 2505462
This commit is contained in:
Lin Bai 2019-08-20 11:23:14 +08:00 committed by nshrivas
parent 1c17ee93f7
commit 96f6609e86

View File

@ -3067,8 +3067,8 @@ static void hdd_skip_acs_scan_timer_handler(void *data)
hdd_debug("ACS Scan result expired. Reset ACS scan skip");
hdd_ctx->skip_acs_scan_status = eSAP_DO_NEW_ACS_SCAN;
qdf_spin_lock(&hdd_ctx->acs_skip_lock);
qdf_mem_free(hdd_ctx->last_acs_channel_list);
hdd_ctx->last_acs_channel_list = NULL;
qdf_mem_free(hdd_ctx->last_acs_freq_list);
hdd_ctx->last_acs_freq_list = NULL;
hdd_ctx->num_of_channels = 0;
qdf_spin_unlock(&hdd_ctx->acs_skip_lock);
@ -3102,8 +3102,8 @@ static void hdd_skip_acs_scan_timer_deinit(struct hdd_context *hdd_ctx)
hdd_err("Cannot deallocate ACS Skip timer");
}
qdf_spin_lock(&hdd_ctx->acs_skip_lock);
qdf_mem_free(hdd_ctx->last_acs_channel_list);
hdd_ctx->last_acs_channel_list = NULL;
qdf_mem_free(hdd_ctx->last_acs_freq_list);
hdd_ctx->last_acs_freq_list = NULL;
hdd_ctx->num_of_channels = 0;
qdf_spin_unlock(&hdd_ctx->acs_skip_lock);
}