wil6210: set edma variables only for Talyn-MB devices
authorMaya Erez <merez@codeaurora.org>
Thu, 23 Aug 2018 11:47:08 +0000 (14:47 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:48:26 +0000 (16:48 +0300)
commit596bdbcce90fa93f43ebcb99cefea34bd2e27707
treeb2fd67fa1241e25c5c95be663fe8b7cade60aad5
parent9a65064abdf82934e0ed4744125f9f466f421f57
wil6210: set edma variables only for Talyn-MB devices

use_rx_hw_reordering is already set to true in wil_set_capabilities
for Talyn-MB devices. Remove its setting from wil_priv_init to
prevent its activation for older chips.
Similarly, move the setting of use_compressed_rx_status to
wil_set_capabilities.

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/pcie_bus.c