From: Wey-Yi Guy Date: Mon, 10 Oct 2011 14:27:08 +0000 (-0700) Subject: iwlagn: more info on warning for shutdown agg queue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8921d4cab903a0578663d8c924d9054e96c2a0fa;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: John W. Linville --- 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; }