]> git.baikalelectronics.ru Git - 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)
commitb690a382bab37d00b1caa00c0c9f47cf9d0e0083
tree9f9bb6ca9685dafcc6e6f325d7628730a18483d5
parent99547a97ac540c4c5928befc49b070d36e85247c
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