[PATCH ath-current v2] wifi: ath12k: fix DMA direction for re-injected Rx buffers
Lorenzo Bianconi
lorenzo.bianconi at oss.qualcomm.com
Fri Oct 23 05:40:53 PDT 2026
>
>
> On 10/23/2026 5:25 PM, Lorenzo Bianconi wrote:
>
> > @@ -983,8 +980,8 @@ static int ath12k_wifi7_dp_rx_h_defrag_reo_reinject(struct ath12k_dp *dp,
> > list_add_tail(&desc_info->list, &dp->rx_desc_free_list);
> > spin_unlock_bh(&dp->rx_desc_lock);
> > err_unmap_dma:
> > - dma_unmap_single(dp->dev, buf_paddr, defrag_skb->len + skb_tailroom(defrag_skb),
> > - DMA_TO_DEVICE);
> > + ath12k_dp_unmap_rx_buf(dp, defrag_skb);
>
> buf_paddr has not been updated to skb_cb->paddr when we reach here. v1 has
>
> rxcb->paddr = buf_paddr;
>
> before jumping, so v1 is good.
Right, my bad. I will fix it in v3.
Regards,
Lorenzo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20261023/58fac1a6/attachment-0001.sig>
More information about the ath12k
mailing list