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
This commit is contained in:
Pavankumar Nandeshwar
2020-05-04 17:07:08 +05:30
zatwierdzone przez nshrivas
rodzic d7f7842cbe
commit 788e43bfbd

Wyświetl plik

@@ -222,7 +222,7 @@ struct wlan_cfg_dp_soc_ctxt {
int int_rxdma2host_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_pdev_id_map[MAX_PDEV_CNT];
int hw_macid_pdev_id_map[MAX_NUM_LMAC_HW];
int base_hw_macid;
bool rx_hash;
bool tso_enabled;