]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: allocate rx reorder buffer only if rx reorder is enabled
authorMaya Erez <merez@codeaurora.org>
Thu, 23 Aug 2018 11:47:09 +0000 (14:47 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:48:36 +0000 (16:48 +0300)
commita4a8909a50164ea06135f31b67441071c521c7bf
treeecbfea07811881cdcdcbf4b14beaa40b1b9b1f7f
parentd6582dcf48802acbef97956004103fcc41c1d498
wil6210: allocate rx reorder buffer only if rx reorder is enabled

wil_addba_rx_request allocates the rx reorder buffer regardless
of use_rx_hw_reordering settings.
Fix this by checking wil->use_rx_hw_reordering before allocating
the reorder buffer.

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