mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: DMA unmap SKBs dropped in Rx error path
Change-Id: I7135aa08062b06b3393cc09b7a5b2e0b64b3a4d6
This commit is contained in:
parent
2d6228a8c1
commit
79cc20c174
1 changed files with 3 additions and 0 deletions
|
|
@ -522,6 +522,9 @@ dp_rx_wbm_err_process(struct dp_soc *soc, void *hal_ring, uint32_t quota)
|
|||
|
||||
rx_bufs_used++;
|
||||
|
||||
qdf_nbuf_unmap_single(soc->osdev, rx_desc->nbuf,
|
||||
QDF_DMA_BIDIRECTIONAL);
|
||||
|
||||
qdf_nbuf_free(rx_desc->nbuf);
|
||||
|
||||
dp_rx_add_to_free_desc_list(&head, &tail, rx_desc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue