diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2020-06-16 17:00:50 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-06-23 10:51:51 +0300 |
commit | 34d9fc80bac34ea4128daf55a1a85161ccb55d9b (patch) | |
tree | 023f3286964987a5917a01ab602ef05128e39163 /drivers/net/wireless/ath/ath11k/peer.c | |
parent | 7b57b2ddec21c1a660af2d832939d392081e515f (diff) |
ath11k: don't use defines for hw specific firmware directories
The downside of using defines in struct ath11k_hw_params.fw.dir is that it's
easy to get it wrong as the full path is not visible. So drop the use of
defines and instead create the patch runtime using a static inline function
ath11k_core_create_firmware_path(). Hopefully this reduces the chances of using
incorrect firmware path.
No functional changes. Compile tested only.
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1592316055-24958-8-git-send-email-kvalo@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/peer.c')
0 files changed, 0 insertions, 0 deletions