diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-09-27 09:57:45 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-02 20:23:14 +0200 |
commit | e6664dff0608440f117b0348594b887cb9725e4f (patch) | |
tree | 27be5e5114b4b2cee1e2b8d2ef39cf91bc5deb34 /drivers/net/wireless/ath/main.c | |
parent | Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-e6664dff0608440f117b0348594b887cb9725e4f.tar.xz linux-e6664dff0608440f117b0348594b887cb9725e4f.zip |
ath: Add support for tracing
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/main.c')
-rw-r--r-- | drivers/net/wireless/ath/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/main.c b/drivers/net/wireless/ath/main.c index 8b0ac14d5c32..83f47af19280 100644 --- a/drivers/net/wireless/ath/main.c +++ b/drivers/net/wireless/ath/main.c @@ -20,6 +20,7 @@ #include <linux/module.h> #include "ath.h" +#include "trace.h" MODULE_AUTHOR("Atheros Communications"); MODULE_DESCRIPTION("Shared library for Atheros wireless LAN cards."); @@ -84,6 +85,8 @@ void ath_printk(const char *level, const struct ath_common* common, else printk("%sath: %pV", level, &vaf); + trace_ath_log(common->hw->wiphy, &vaf); + va_end(args); } EXPORT_SYMBOL(ath_printk); |