|
@@ -1299,6 +1299,11 @@ void iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
|
|
sta_id = ba_resp->sta_id;
|
|
sta_id = ba_resp->sta_id;
|
|
tid = ba_resp->tid;
|
|
tid = ba_resp->tid;
|
|
agg = &priv->stations[sta_id].tid[tid].agg;
|
|
agg = &priv->stations[sta_id].tid[tid].agg;
|
|
|
|
+ if (unlikely(agg->txq_id != scd_flow)) {
|
|
|
|
+ IWL_ERR(priv, "BA scd_flow %d does not match txq_id %d\n",
|
|
|
|
+ scd_flow, agg->txq_id);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
|
|
/* Find index just before block-ack window */
|
|
/* Find index just before block-ack window */
|
|
index = iwl_queue_dec_wrap(ba_resp_scd_ssn & 0xff, txq->q.n_bd);
|
|
index = iwl_queue_dec_wrap(ba_resp_scd_ssn & 0xff, txq->q.n_bd);
|