summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/htc.c
diff options
context:
space:
mode:
authorAnilkumar Kolli <akolli@codeaurora.org>2020-06-16 17:00:46 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-06-23 10:51:40 +0300
commitb1cc29e97d1b96dfd3a7437083f7ba4aa5f32b88 (patch)
tree7ddf0ef07e1549a41b611a449ff2de554d9b5a2a /drivers/net/wireless/ath/ath11k/htc.c
parentd3318abf41cf6be94424b3e3adcde791d563a147 (diff)
downloadlinux-b1cc29e97d1b96dfd3a7437083f7ba4aa5f32b88.tar.xz
ath11k: define max_radios in hw_params
IPQ6018 needs different value for max_radios so make it configurable via hw_params. No functional changes. Compile tested only. Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1592316055-24958-4-git-send-email-kvalo@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/htc.c')
-rw-r--r--drivers/net/wireless/ath/ath11k/htc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath11k/htc.c b/drivers/net/wireless/ath/ath11k/htc.c
index ad13c648b679..bc0026c1e4a6 100644
--- a/drivers/net/wireless/ath/ath11k/htc.c
+++ b/drivers/net/wireless/ath/ath11k/htc.c
@@ -748,7 +748,7 @@ int ath11k_htc_init(struct ath11k_base *ab)
htc->wmi_ep_count = 3;
break;
default:
- htc->wmi_ep_count = 3;
+ htc->wmi_ep_count = ab->hw_params.max_radios;
break;
}