projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc4071
)
iwlwifi: mvm: add debug statement to time event add
author
Johannes Berg
<
[email protected]
>
Fri, 15 Feb 2013 22:54:10 +0000
(23:54 +0100)
committer
Johannes Berg
<
[email protected]
>
Mon, 18 Feb 2013 19:17:57 +0000
(20:17 +0100)
This is helpful for debugging the time event warning,
but also in general to see what's going on.
Reviewed-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
drivers/net/wireless/iwlwifi/mvm/time-event.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/time-event.c
b/drivers/net/wireless/iwlwifi/mvm/time-event.c
index c09b71f23759672201810b450e660dd7ef960894..e025b589620345f5ea53057cf7532b73d23b93e5 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/mvm/time-event.c
+++ b/
drivers/net/wireless/iwlwifi/mvm/time-event.c
@@
-265,6
+265,9
@@
static int iwl_mvm_time_event_send_add(struct iwl_mvm *mvm,
lockdep_assert_held(&mvm->mutex);
+ IWL_DEBUG_TE(mvm, "Add new TE, duration %d TU\n",
+ le32_to_cpu(te_cmd->duration));
+
spin_lock_bh(&mvm->time_event_lock);
if (WARN_ON(te_data->id != TE_MAX)) {
spin_unlock_bh(&mvm->time_event_lock);