mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Use lmac_id to get the rx_desc_pool instead of pdev_id
Use lmac_id to get the rx_desc_pool while freeing the rx_desc_pool for rx_desc_buf. Change-Id: I549e7f54b267d2c82dceb391a766297dfe18ceb7 CRs-Fixed: 2608209
This commit is contained in:
parent
7f64ef005b
commit
29c280ef73
1 changed files with 1 additions and 1 deletions
|
|
@ -4193,7 +4193,7 @@ static void dp_pdev_detach(struct cdp_pdev *txrx_pdev, int force)
|
|||
}
|
||||
|
||||
if (dp_is_soc_reinit(soc)) {
|
||||
rx_desc_pool = &soc->rx_desc_buf[pdev->pdev_id];
|
||||
rx_desc_pool = &soc->rx_desc_buf[pdev->lmac_id];
|
||||
dp_rx_desc_pool_free(soc, rx_desc_pool);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue