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)
commit367c899f622c1bf3443e56011561542d2eb5a917
treeab1fe029568059e4cfc282f2e07da804eb8ce171
parent7c2dd6154fc22e2aec1fcb384beb0a6372f2b439
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