diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-03-18 07:42:20 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-03-18 07:42:20 -0400 |
commit | 416cf0b49e67254676b4762d1bab88df5130f909 (patch) | |
tree | f278a3edc3582b4b5b43882574142163a93b1ede /drivers/net/wireless/ath/ath6kl/wmi.c | |
parent | 44af34428dfdce0472cb229b013c72710285d2db (diff) |
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/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index d76b5bd81a0d..31a308103f4c 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/drivers/net/wireless/ath/ath6kl/wmi.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include "core.h" | 20 | #include "core.h" |
21 | #include "debug.h" | 21 | #include "debug.h" |
22 | #include "testmode.h" | 22 | #include "testmode.h" |
23 | #include "trace.h" | ||
23 | #include "../regd.h" | 24 | #include "../regd.h" |
24 | #include "../regd_common.h" | 25 | #include "../regd_common.h" |
25 | 26 | ||
@@ -4086,6 +4087,8 @@ int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb) | |||
4086 | return -EINVAL; | 4087 | return -EINVAL; |
4087 | } | 4088 | } |
4088 | 4089 | ||
4090 | trace_ath6kl_wmi_event(skb->data, skb->len); | ||
4091 | |||
4089 | return ath6kl_wmi_proc_events(wmi, skb); | 4092 | return ath6kl_wmi_proc_events(wmi, skb); |
4090 | } | 4093 | } |
4091 | 4094 | ||