]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/wireless/iwlwifi/iwl-trans.h
iwlwifi: mvm: clean up invalid station handling
[mirror_ubuntu-artful-kernel.git] / drivers / net / wireless / iwlwifi / iwl-trans.h
index 7f9c254292a809e1e58c929467a01189b77638e5..7a13790b5bfe5e20feb8db54edd2fc4ef738187d 100644 (file)
@@ -305,7 +305,6 @@ static inline void iwl_free_rxb(struct iwl_rx_cmd_buffer *r)
  * currently supports
  */
 #define IWL_MAX_HW_QUEUES              32
-#define IWL_INVALID_STATION    255
 #define IWL_MAX_TID_COUNT      8
 #define IWL_FRAME_LIMIT        64
 
@@ -682,7 +681,7 @@ static inline void iwl_trans_txq_enable(struct iwl_trans *trans, int queue,
 static inline void iwl_trans_ac_txq_enable(struct iwl_trans *trans, int queue,
                                           int fifo)
 {
-       iwl_trans_txq_enable(trans, queue, fifo, IWL_INVALID_STATION,
+       iwl_trans_txq_enable(trans, queue, fifo, -1,
                             IWL_MAX_TID_COUNT, IWL_FRAME_LIMIT, 0);
 }