ath10k: fix board data fetch error message
authorPeter Oh <poh@qca.qualcomm.com>
Fri, 20 Nov 2015 17:33:14 +0000 (09:33 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Nov 2015 14:54:42 +0000 (16:54 +0200)
The error message order of board data fetch is board info,
directory, and then file name, hence place print arguments
in the order.

Fixes: 0a51b343abfe ("ath10k: add board 2 API support")
Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c

index f128adbae4540c431a9882713c96e84dde7f870d..7a59dbb1b1e2ab3bf53f97e09d7946327cba2957 100644 (file)
@@ -849,7 +849,7 @@ out:
        if (!ar->board_data || !ar->board_len) {
                ath10k_err(ar,
                           "failed to fetch board data for %s from %s/%s\n",
-                          ar->hw_params.fw.dir, boardname, filename);
+                          boardname, ar->hw_params.fw.dir, filename);
                ret = -ENODATA;
                goto err;
        }