diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-15 23:54:10 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-18 20:17:57 +0100 |
commit | 93630dc3ef897975a542bb52bbed3969e647276e (patch) | |
tree | 59e7e560e74d5b42f238b0da293aa6f8309cd8ad /drivers/net | |
parent | 9cc40712a082b7288d00c57e8652e3b248e2554d (diff) |
iwlwifi: mvm: add debug statement to time event add
This is helpful for debugging the time event warning,
but also in general to see what's going on.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/time-event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/time-event.c b/drivers/net/wireless/iwlwifi/mvm/time-event.c index c09b71f2375..e025b589620 100644 --- 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); |