summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath11k/core.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2020-06-16 17:00:54 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-06-23 10:52:02 +0300
commitb3a18338ebd6cc8b540e63d8d9d9e30c20041bef (patch)
tree713703dbef19a56750df6cc60a8f6ab0fae5979c /drivers/net/wireless/ath/ath11k/core.c
parent6e5dd03c0b1f8bf9d8f5b3101ee92c46f804d526 (diff)
ath11k: don't use defines in hw_params
These defines are not used anywhere else so to avoid extra indirection add the values directly to hw_params. No functional changes. Compile tested only. Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1592316055-24958-12-git-send-email-kvalo@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/core.c')
-rw-r--r--drivers/net/wireless/ath/ath11k/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 84a566dffad9..38e830a2395b 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -23,8 +23,8 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
.name = "ipq8074 hw2.0",
.fw = {
.dir = "IPQ8074/hw2.0",
- .board_size = IPQ8074_MAX_BOARD_DATA_SZ,
- .cal_size = IPQ8074_MAX_CAL_DATA_SZ,
+ .board_size = 256 * 1024,
+ .cal_size = 256 * 1024,
},
.max_radios = 3,
.bdf_addr = 0x4B0C0000,