Эх сурвалжийг харах

qcacmn: fix compilation issue in dp_vdev_flush_peers

Fix compilation issue in dp_vdev_flush_peers.

Change-Id: I170398134d0a5eb30fecba78641fadfa2cfb236f
CRs-Fixed: 2545597
Jinwei Chen 5 жил өмнө
parent
commit
13219389f1
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      dp/wifi3.0/dp_main.c

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

@@ -4890,7 +4890,7 @@ static void dp_vdev_flush_peers(struct cdp_vdev *vdev_handle, bool unmap_only)
 	struct dp_soc *soc = pdev->soc;
 	struct dp_peer *peer;
 	uint16_t *peer_ids;
-	struct dp_peer **peer_array;
+	struct dp_peer **peer_array = NULL;
 	uint8_t i = 0, j = 0;
 	uint8_t m = 0, n = 0;