]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add bus type check in ath10k_init_hw_params
authorErik Stromdahl <erik.stromdahl@gmail.com>
Tue, 4 Sep 2018 12:04:07 +0000 (15:04 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Sep 2018 16:14:08 +0000 (19:14 +0300)
commit165c8d9f22819983be74b08cc6e2585426692705
treeab1fe029568059e4cfc282f2e07da804eb8ce171
parent71bdc932963ec403df55ef07e9492f59de7a2458
ath10k: add bus type check in ath10k_init_hw_params

The bus type is used together with the other hw parameters
to find a matching entry in ath10k_hw_params_list for the device.

This is necessary since HL devices can have the same dev_id and
target_version as a corresponding LL device (same chipset) and
yet use a totally different configuration.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/hw.h