Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e8107ed authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by John W. Linville
Browse files

iwlagn: warn only once if AGG state is wrong



This one can be _very_ noisy.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 984ecb92
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1098,7 +1098,7 @@ static int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
		seq_number += 0x10;
		seq_number += 0x10;
		/* aggregation is on for this <sta,tid> */
		/* aggregation is on for this <sta,tid> */
		if (info->flags & IEEE80211_TX_CTL_AMPDU) {
		if (info->flags & IEEE80211_TX_CTL_AMPDU) {
			WARN_ON(tid_data->agg.state != IWL_AGG_ON);
			WARN_ON_ONCE(tid_data->agg.state != IWL_AGG_ON);
			txq_id = tid_data->agg.txq_id;
			txq_id = tid_data->agg.txq_id;
			is_agg = true;
			is_agg = true;
		}
		}