Explorar el Código

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
Amar Singhal hace 4 años
padre
commit
9709a3147d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/sme/src/csr/csr_api_roam.c

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