From 9709a3147d5b3be4550913b7cf7fd5b8d4068091 Mon Sep 17 00:00:00 2001 From: Amar Singhal Date: Thu, 9 Jul 2020 09:57:16 -0700 Subject: [PATCH] qcacld-3.0: Use global operating class to initialize array Use global operating class to initiaize operating class array. Country specific operating class table is used less and less now, so use the global operating class by default. Change-Id: Iaa6559d47cb1d8d30c8826dc3e7d5b63c743297b CRs-Fixed: 2728601 --- core/sme/src/csr/csr_api_roam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index d02f25c76ab9..5bdc7824e955 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -20153,7 +20153,7 @@ csr_update_op_class_array(struct mac_context *mac_ctx, *i < (REG_MAX_SUPP_OPER_CLASSES - 1); idx++) { wlan_reg_freq_to_chan_op_class( mac_ctx->pdev, channel_info->channel_freq_list[idx], - false, BIT(BEHAV_NONE), &class, &ch_num); + true, BIT(BEHAV_NONE), &class, &ch_num); found = false; for (j = 0; j < REG_MAX_SUPP_OPER_CLASSES - 1; j++) {