Browse Source

ath10k: fix board data fetch error message

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>
Peter Oh 9 years ago
parent
commit
bd5632b098
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/ath/ath10k/core.c

+ 1 - 1
drivers/net/wireless/ath/ath10k/core.c

@@ -849,7 +849,7 @@ out:
 	if (!ar->board_data || !ar->board_len) {
 	if (!ar->board_data || !ar->board_len) {
 		ath10k_err(ar,
 		ath10k_err(ar,
 			   "failed to fetch board data for %s from %s/%s\n",
 			   "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;
 		ret = -ENODATA;
 		goto err;
 		goto err;
 	}
 	}