Skip to content

Commit

Permalink
ath10k: fix crash related to printing features
Browse files Browse the repository at this point in the history
This looks like a regression from commit c4cdf75 ("ath10k: move
fw_features to struct ath10k_fw_file"), we were printing the features from a
wrong struct.

Fixes: c4cdf75 ("ath10k: move fw_features to struct ath10k_fw_file")
Signed-off-by:  Ben Greear <[email protected]>
[[email protected]: improve commit log]
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
greearb authored and kvalo committed Jun 7, 2016
1 parent fee48cf commit 8d0a071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath10k/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name,
}

ath10k_dbg_dump(ar, ATH10K_DBG_BOOT, "features", "",
ar->running_fw->fw_file.fw_features,
fw_file->fw_features,
sizeof(fw_file->fw_features));
break;
case ATH10K_FW_IE_FW_IMAGE:
Expand Down

0 comments on commit 8d0a071

Please sign in to comment.