mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Add missing unmap in rx error path
Add missing qdf_nbuf_unmap and storing of rx_buf_start in rx defrag error handling path Change-Id: I53b4b76e01e89f5542feeff5af2328cc4414486b CRs-Fixed: 2420080
This commit is contained in:
parent
ac6e126adf
commit
c736e83257
1 changed files with 5 additions and 0 deletions
|
|
@ -296,6 +296,11 @@ static uint32_t dp_rx_msdus_drop(struct dp_soc *soc, void *ring_desc,
|
|||
return rx_bufs_used;
|
||||
}
|
||||
|
||||
qdf_nbuf_unmap_single(soc->osdev,
|
||||
rx_desc->nbuf, QDF_DMA_BIDIRECTIONAL);
|
||||
|
||||
rx_desc->rx_buf_start = qdf_nbuf_data(rx_desc->nbuf);
|
||||
|
||||
rx_bufs_used++;
|
||||
tid = hal_rx_mpdu_start_tid_get(soc->hal_soc,
|
||||
rx_desc->rx_buf_start);
|
||||
|
|
|
|||
Loading…
Reference in a new issue