iwlwifi: trans: make aggregation explicit for TX queue handling
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / pcie / tx.c
index eb39e584cc6d0cbab2bdd869262179754e269d27..a24c1df2b1b54a5f9db21ac788b470325379dc92 100644 (file)
@@ -1085,8 +1085,7 @@ void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, u16 ssn,
                if (txq_id != trans_pcie->cmd_queue)
                        iwl_scd_txq_set_chain(trans, txq_id);
 
-               /* If this queue is mapped to a certain station: it is an AGG */
-               if (cfg->sta_id >= 0) {
+               if (cfg->aggregate) {
                        u16 ra_tid = BUILD_RAxTID(cfg->sta_id, cfg->tid);
 
                        /* Map receiver-address / traffic-ID to this queue */
This page took 0.035149 seconds and 5 git commands to generate.