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
This commit is contained in:
Amar Singhal 2020-07-09 09:57:16 -07:00 • committed by nshrivas
commit 9709a3147d

View file

@ -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++) {