diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/debug.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c index 7e8f6511b232..eab71e2eb4d7 100644 --- a/drivers/net/wireless/ath/ath10k/debug.c +++ b/drivers/net/wireless/ath/ath10k/debug.c | |||
@@ -129,8 +129,12 @@ void ath10k_print_driver_info(struct ath10k *ar) | |||
129 | 129 | ||
130 | ath10k_core_get_fw_features_str(ar, fw_features, sizeof(fw_features)); | 130 | ath10k_core_get_fw_features_str(ar, fw_features, sizeof(fw_features)); |
131 | 131 | ||
132 | scnprintf(boardinfo, sizeof(boardinfo), "sub %04x:%04x", | 132 | if (ar->id.bmi_ids_valid) |
133 | ar->id.subsystem_vendor, ar->id.subsystem_device); | 133 | scnprintf(boardinfo, sizeof(boardinfo), "bmi %d:%d", |
134 | ar->id.bmi_chip_id, ar->id.bmi_board_id); | ||
135 | else | ||
136 | scnprintf(boardinfo, sizeof(boardinfo), "sub %04x:%04x", | ||
137 | ar->id.subsystem_vendor, ar->id.subsystem_device); | ||
134 | 138 | ||
135 | ath10k_info(ar, "%s (0x%08x, 0x%08x %s) fw %s fwapi %d bdapi %d htt-ver %d.%d wmi-op %d htt-op %d cal %s max-sta %d raw %d hwcrypto %d features %s\n", | 139 | ath10k_info(ar, "%s (0x%08x, 0x%08x %s) fw %s fwapi %d bdapi %d htt-ver %d.%d wmi-op %d htt-op %d cal %s max-sta %d raw %d hwcrypto %d features %s\n", |
136 | ar->hw_params.name, | 140 | ar->hw_params.name, |