
< 	struct iwl_txq *txq = trans->txqs.txq[txq_id];
---
> 	struct iwl_txq *txq = iwl_txq_get_safe(trans, txq_id);
> 	if (!txq)
> 		return;
