qcacmn: Use the appropriate desc pool for mon status ring

In dp_mon_status_srng_drop_for_mac, the rx_desc pool
used for status ring is dest ring desc pool which is
not the appropriate one.

Fix is to use the appropriate desc pool for mon status
ring.

Change-Id: I6f178354789212b375a7a541366bef590a925568
CRs-Fixed: 2800658
Este commit está contenido en:
Yeshwanth Sriram Guntuka
2020-10-22 17:34:39 +05:30
cometido por snandini
padre 6a2457fc27
commit 7e9e7e4bcd
Se han modificado 3 ficheros con 20 adiciones y 5 borrados

Ver fichero

@@ -2466,8 +2466,7 @@ dp_mon_status_srng_drop_for_mac(struct dp_pdev *pdev, uint32_t mac_id,
struct dp_rx_desc *rx_desc;
union dp_rx_desc_list_elem_t *rx_desc_elem;
rx_desc_pool = dp_rx_get_mon_desc_pool(soc, mac_id,
pdev->pdev_id);
rx_desc_pool = &soc->rx_desc_status[mac_id];
qdf_spin_lock_bh(&rx_desc_pool->lock);