瀏覽代碼

qcacmn: Compile qca-wifi with gcc 5.2

Description:-
Added changes to avoid qca-wifi compilation errors with GCC 5.2

Change-Id: Idc6a1186af24219f193a2c36a00987cda820e334
CRs-Fixed: 2269330
narayan 6 年之前
父節點
當前提交
4b25ab2b2f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dp/wifi3.0/dp_main.c

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

@@ -5528,7 +5528,7 @@ dp_print_ring_stats(struct dp_pdev *pdev)
 				"Rxdma mon desc Ring");
 	}
 
-	for (i = 0; i < MAX_RX_MAC_RINGS; i++) {
+	for (i = 0; i < NUM_RXDMA_RINGS_PER_PDEV; i++) {
 		snprintf(ring_name, STR_MAXLEN, "Rxdma err dst ring %d", i);
 		dp_print_ring_stat_from_hal(pdev->soc,
 			&pdev->rxdma_err_dst_ring[i],