mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacmn: Fix crash in frag path by using correct API to obtain PDEV
PDEV was being obtained using lmac_id by directly indexing the
pdev_list array. Instead, we need to use dp_get_pdev_for_lmac_id.
Change-Id: I1c4a0f3df5db59390e17666a5f712c5412e22bb1
CRs-Fixed: 2627909
This commit is contained in:
parent
c749787a01
commit
28432f1195
1 changed files with 1 additions and 1 deletions
|
|
@ -1719,7 +1719,7 @@ uint32_t dp_rx_frag_handle(struct dp_soc *soc, hal_ring_desc_t ring_desc,
|
|||
}
|
||||
|
||||
/* all buffers in MSDU link belong to same pdev */
|
||||
pdev = soc->pdev_list[rx_desc->pool_id];
|
||||
pdev = dp_get_pdev_for_lmac_id(soc, rx_desc->pool_id);
|
||||
*mac_id = rx_desc->pool_id;
|
||||
|
||||
msdu = rx_desc->nbuf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue