]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
wil6210: fix freeing of rx buffers in EDMA mode
authorAhmad Masri <amasri@codeaurora.org>
Wed, 31 Oct 2018 08:52:23 +0000 (10:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:04:16 +0000 (18:04 +0200)
commit6470f31927b46846d957628b719dcfda05446664
tree9f9bb6ca9685dafcc6e6f325d7628730a18483d5
parenta834df7497b4e2bd609761b6e69fb9c8176ccf8e
wil6210: fix freeing of rx buffers in EDMA mode

After being associated with some EDMA rx traffic, upon "down" driver
doesn't free all skbs in the rx ring.
Modify wil_move_all_rx_buff_to_free_list to loop on active list of rx
buffers, unmap the physical memory and free the skb.

Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/txrx_edma.c