]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ath10k: add directory to board data error message
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 13 Feb 2017 10:38:41 +0000 (12:38 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 14 Feb 2017 17:52:30 +0000 (19:52 +0200)
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>
drivers/net/wireless/ath/ath10k/core.c

index bac1a7f2ecf120f848122a4e9e84fe913d6e7725..51d91837a980d88f7bdd0995f0c4c9c5c232589d 100644 (file)
@@ -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;
        }