iwlagn: more info on warning for shutdown agg queue
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / iwlwifi / iwl-trans-pcie-tx.c
index fec7065e75e63763d413c3e1a9efe7b27389354a..2e48979baa4e4db20af1a332546efb1f50b5a074 100644 (file)
@@ -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;
        }