summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
diff options
context:
space:
mode:
authorWey-Yi Guy2011-10-10 16:27:08 +0200
committerJohn W. Linville2011-10-14 20:48:12 +0200
commit8921d4cab903a0578663d8c924d9054e96c2a0fa (patch)
treebb232b4f50c29845417ed9e3d15dbf60129474af /drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
parentiwlwifi: update comments on how to enable debug flag (diff)
downloadkernel-qcow2-linux-8921d4cab903a0578663d8c924d9054e96c2a0fa.tar.gz
kernel-qcow2-linux-8921d4cab903a0578663d8c924d9054e96c2a0fa.tar.xz
kernel-qcow2-linux-8921d4cab903a0578663d8c924d9054e96c2a0fa.zip
iwlagn: more info on warning for shutdown agg queue
When detect wrong state on shutdown aggregation queue, show more information for debugging Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
index fec7065e75e6..2e48979baa4e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
@@ -634,8 +634,9 @@ int iwl_trans_pcie_tx_agg_disable(struct iwl_trans *trans,
case IWL_AGG_ON:
break;
default:
- IWL_WARN(trans, "Stopping AGG while state not ON"
- "or starting\n");
+ IWL_WARN(trans, "Stopping AGG while state not ON "
+ "or starting for %d on %d (%d)\n", sta_id, tid,
+ trans->shrd->tid_data[sta_id][tid].agg.state);
spin_unlock_irqrestore(&trans->shrd->sta_lock, flags);
return 0;
}