Browse Source

qcacmn: Define int_ctx variable to resolve compilation error

int_ctx variable is not defined but it is being used which creates
compilation error. Define this variable as part of the fix.

CRs-Fixed: 2359507
Change-Id: I17e57663eb8daa449616ee99d5eb9455e3b7cee2
Krunal Soni 6 years ago
parent
commit
07215e8082
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dp/wifi3.0/dp_main.c

+ 2 - 0
dp/wifi3.0/dp_main.c

@@ -9331,6 +9331,8 @@ void *dp_soc_init(void *dpsoc, HTC_HANDLE htc_handle, void *hif_handle)
 		wlan_cfg_set_raw_mode_war(soc->wlan_cfg_ctx, true);
 		soc->ast_override_support = 1;
 		if (con_mode_monitor == QDF_GLOBAL_MONITOR_MODE) {
+			int int_ctx;
+
 			for (int_ctx = 0; int_ctx < WLAN_CFG_INT_NUM_CONTEXTS; int_ctx++) {
 				soc->wlan_cfg_ctx->int_rx_ring_mask[int_ctx] = 0;
 				soc->wlan_cfg_ctx->int_rxdma2host_ring_mask[int_ctx] = 0;