Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbb3b344 authored by Pavankumar Nandeshwar's avatar Pavankumar Nandeshwar Committed by nshrivas
Browse files

qcacmn: Assign appropriate size for hw_macid_pdev_id_map

Use appropriate size value MAX_NUM_LMAC_HW to make sure
that we have right size for hw_macid_pdev_id_map.

Change-Id: I3cbb1f83be54252c995e777392bb1c86a95239c1
parent 91994ca6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -220,7 +220,7 @@ struct wlan_cfg_dp_soc_ctxt {
	int int_rxdma2host_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS];
	int int_rxdma2host_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS];
	int int_host2rxdma_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS];
	int int_host2rxdma_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS];
	int hw_macid[MAX_PDEV_CNT];
	int hw_macid[MAX_PDEV_CNT];
	int hw_macid_pdev_id_map[MAX_PDEV_CNT];
	int hw_macid_pdev_id_map[MAX_NUM_LMAC_HW];
	int base_hw_macid;
	int base_hw_macid;
	bool rx_hash;
	bool rx_hash;
	bool tso_enabled;
	bool tso_enabled;