aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/main.c')
-rw-r--r--drivers/net/wireless/ath/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/main.c b/drivers/net/wireless/ath/main.c
index 83f47af19280..338d72337604 100644
--- a/drivers/net/wireless/ath/main.c
+++ b/drivers/net/wireless/ath/main.c
@@ -79,13 +79,13 @@ void ath_printk(const char *level, const struct ath_common* common,
79 vaf.fmt = fmt; 79 vaf.fmt = fmt;
80 vaf.va = &args; 80 vaf.va = &args;
81 81
82 if (common && common->hw && common->hw->wiphy) 82 if (common && common->hw && common->hw->wiphy) {
83 printk("%sath: %s: %pV", 83 printk("%sath: %s: %pV",
84 level, wiphy_name(common->hw->wiphy), &vaf); 84 level, wiphy_name(common->hw->wiphy), &vaf);
85 else 85 trace_ath_log(common->hw->wiphy, &vaf);
86 } else {
86 printk("%sath: %pV", level, &vaf); 87 printk("%sath: %pV", level, &vaf);
87 88 }
88 trace_ath_log(common->hw->wiphy, &vaf);
89 89
90 va_end(args); 90 va_end(args);
91} 91}