]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: make sure Rx ring sizes are correlated
authorDedy Lansky <dlansky@codeaurora.org>
Wed, 31 Oct 2018 08:52:12 +0000 (10:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:02:32 +0000 (18:02 +0200)
commit2d4bdf9ae8057c223346bdca4d01cea4b5b6285e
treed9ac8ce7b901ca16a579f8a96e68826d0fe3c38f
parent3f0d5cefca2b80023c3381eecd4763e19fd5bb04
wil6210: make sure Rx ring sizes are correlated

When enlarging rx_ring_order module param, wil6210 fails to load
because there are not enough Rx buffers.
Fix this by enlarging number of Rx buffers at startup, if needed based
on rx_ring_order.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/txrx.c
drivers/net/wireless/ath/wil6210/txrx_edma.c
drivers/net/wireless/ath/wil6210/wil6210.h