summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2017-02-13 13:38:41 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2017-02-14 20:52:30 +0300
commit310c01afae0109c37c871887a7c64bc3e4a9e636 (patch)
tree9faabe0eeea9e90194bf2b417aecfe522755005c
parent1c61bedc0a725f0b019a70bba07cb2cf05c4ae2a (diff)
downloadlinux-310c01afae0109c37c871887a7c64bc3e4a9e636.tar.xz
ath10k: add directory to board data error message
This way user has a better idea what file exactly is missing. This is needed when we switch to using request_firmware_direct() which doesn't print any errors anymore. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath10k/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index bac1a7f2ecf1..51d91837a980 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -1168,7 +1168,8 @@ static int ath10k_core_fetch_board_file(struct ath10k *ar)
ar->bd_api = 1;
ret = ath10k_core_fetch_board_data_api_1(ar);
if (ret) {
- ath10k_err(ar, "failed to fetch board data\n");
+ ath10k_err(ar, "failed to fetch board-2.bin or board.bin from %s\n",
+ ar->hw_params.fw.dir);
return ret;
}