diff options
author | Kalle Valo | 2013-03-18 12:42:20 +0100 |
---|---|---|
committer | Kalle Valo | 2013-03-18 12:42:20 +0100 |
commit | 416cf0b49e67254676b4762d1bab88df5130f909 (patch) | |
tree | f278a3edc3582b4b5b43882574142163a93b1ede /drivers/net/wireless/ath/ath6kl/txrx.c | |
parent | ath6kl: cold reset target after host warm boot (diff) | |
download | kernel-qcow2-linux-416cf0b49e67254676b4762d1bab88df5130f909.tar.gz kernel-qcow2-linux-416cf0b49e67254676b4762d1bab88df5130f909.tar.xz kernel-qcow2-linux-416cf0b49e67254676b4762d1bab88df5130f909.zip |
ath6kl: add tracing support and tracing points for wmi packets
Add basic tracing infrastructure support to ath6kl and which can be
enabled with CONFIG_ATH6KL_TRACING.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/txrx.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/txrx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/txrx.c b/drivers/net/wireless/ath/ath6kl/txrx.c index 78b369286579..43dbdaadf577 100644 --- a/drivers/net/wireless/ath/ath6kl/txrx.c +++ b/drivers/net/wireless/ath/ath6kl/txrx.c @@ -20,6 +20,7 @@ #include "core.h" #include "debug.h" #include "htc-ops.h" +#include "trace.h" /* * tid - tid_mux0..tid_mux3 @@ -288,6 +289,8 @@ int ath6kl_control_tx(void *devt, struct sk_buff *skb, int status = 0; struct ath6kl_cookie *cookie = NULL; + trace_ath6kl_wmi_cmd(skb->data, skb->len); + if (WARN_ON_ONCE(ar->state == ATH6KL_STATE_WOW)) { dev_kfree_skb(skb); return -EACCES; |