|
@@ -1096,8 +1096,8 @@ static int iwl_trans_pcie_tx(struct iwl_trans *trans, struct sk_buff *skb,
|
|
|
hdr->seq_ctrl |= cpu_to_le16(seq_number);
|
|
|
seq_number += 0x10;
|
|
|
/* aggregation is on for this <sta,tid> */
|
|
|
- if (info->flags & IEEE80211_TX_CTL_AMPDU &&
|
|
|
- tid_data->agg.state == IWL_AGG_ON) {
|
|
|
+ if (info->flags & IEEE80211_TX_CTL_AMPDU) {
|
|
|
+ WARN_ON(tid_data->agg.state != IWL_AGG_ON);
|
|
|
txq_id = tid_data->agg.txq_id;
|
|
|
is_agg = true;
|
|
|
}
|