diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 5 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index cb2642c18da4..b4e814543039 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -324,8 +324,9 @@ struct iwl_channel_info { | |||
324 | #define IWL_MIN_NUM_QUEUES 10 | 324 | #define IWL_MIN_NUM_QUEUES 10 |
325 | 325 | ||
326 | /* | 326 | /* |
327 | * uCode queue management definitions ... | 327 | * Queue #4 is the command queue for 3945/4965/5x00/1000/6x00, |
328 | * Queue #4 is the command queue for 3945/4965/5x00/1000/6x00. | 328 | * the driver maps it into the appropriate device FIFO for the |
329 | * uCode. | ||
329 | */ | 330 | */ |
330 | #define IWL_CMD_QUEUE_NUM 4 | 331 | #define IWL_CMD_QUEUE_NUM 4 |
331 | 332 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index 05e75109d842..905ceca88b95 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c | |||
@@ -364,8 +364,13 @@ int iwl_tx_queue_init(struct iwl_priv *priv, struct iwl_tx_queue *txq, | |||
364 | 364 | ||
365 | txq->need_update = 0; | 365 | txq->need_update = 0; |
366 | 366 | ||
367 | /* aggregation TX queues will get their ID when aggregation begins */ | 367 | /* |
368 | if (txq_id <= IWL_TX_FIFO_AC3) | 368 | * Aggregation TX queues will get their ID when aggregation begins; |
369 | * they overwrite the setting done here. The command FIFO doesn't | ||
370 | * need an swq_id so don't set one to catch errors, all others can | ||
371 | * be set up to the identity mapping. | ||
372 | */ | ||
373 | if (txq_id != IWL_CMD_QUEUE_NUM) | ||
369 | txq->swq_id = txq_id; | 374 | txq->swq_id = txq_id; |
370 | 375 | ||
371 | /* TFD_QUEUE_SIZE_MAX must be power-of-two size, otherwise | 376 | /* TFD_QUEUE_SIZE_MAX must be power-of-two size, otherwise |