iwlwifi: mvm: clean up invalid station handling
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / pcie / tx.c
index a4508c2fa92b89fa4376f8c53d1bed4078fe8fe2..a0bbb0df4ae4eb735a0b77981d6cd4adcd748b1e 100644 (file)
@@ -1063,7 +1063,7 @@ void iwl_trans_pcie_txq_enable(struct iwl_trans *trans, int txq_id, int fifo,
                iwl_set_bits_prph(trans, SCD_QUEUECHAIN_SEL, BIT(txq_id));
 
        /* If this queue is mapped to a certain station: it is an AGG queue */
-       if (sta_id != IWL_INVALID_STATION) {
+       if (sta_id >= 0) {
                u16 ra_tid = BUILD_RAxTID(sta_id, tid);
 
                /* Map receiver-address / traffic-ID to this queue */
This page took 0.025547 seconds and 5 git commands to generate.