Skip to content

Commit

Permalink
ath10k: initialize features string in ath10k_print_driver_info() to
Browse files Browse the repository at this point in the history
    prevent garbled dmesg output when fw_features == 0
  • Loading branch information
vvanpo committed Aug 6, 2015
1 parent 4d43636 commit 3773712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath10k/debug.c
Expand Up @@ -124,7 +124,7 @@ EXPORT_SYMBOL(ath10k_info);

void ath10k_print_driver_info(struct ath10k *ar)
{
char fw_features[128];
char fw_features[128] = "";

ath10k_core_get_fw_features_str(ar, fw_features, sizeof(fw_features));

Expand Down

0 comments on commit 3773712

Please sign in to comment.