Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224635
b: refs/heads/master
c: 76f379c
h: refs/heads/master
i:
  224633: d6ddd69
  224631: 39c48a0
v: v3
  • Loading branch information
Johannes Berg authored and Wey-Yi Guy committed Nov 16, 2010
1 parent 825f237 commit a833da9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 564b344c10b694d433cef5b89f8ff8ac5e33898d
refs/heads/master: 76f379cec6df6c9c5c9dbf7377d1bbbb0bf3fd5f
12 changes: 6 additions & 6 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void iwlagn_send_bt_env(struct iwl_priv *priv, u8 action, u8 type)

int iwlagn_alive_notify(struct iwl_priv *priv)
{
const s8 *queues;
const s8 *queue_to_fifo;
u32 a;
unsigned long flags;
int i, chan;
Expand Down Expand Up @@ -492,9 +492,9 @@ int iwlagn_alive_notify(struct iwl_priv *priv)

/* map queues to FIFOs */
if (priv->valid_contexts != BIT(IWL_RXON_CTX_BSS))
queues = iwlagn_ipan_queue_to_tx_fifo;
queue_to_fifo = iwlagn_ipan_queue_to_tx_fifo;
else
queues = iwlagn_default_queue_to_tx_fifo;
queue_to_fifo = iwlagn_default_queue_to_tx_fifo;

iwlagn_set_wr_ptrs(priv, priv->cmd_queue, 0);

Expand All @@ -510,14 +510,14 @@ int iwlagn_alive_notify(struct iwl_priv *priv)
BUILD_BUG_ON(ARRAY_SIZE(iwlagn_ipan_queue_to_tx_fifo) != 10);

for (i = 0; i < 10; i++) {
int ac = queues[i];
int fifo = queue_to_fifo[i];

iwl_txq_ctx_activate(priv, i);

if (ac == IWL_TX_FIFO_UNUSED)
if (fifo == IWL_TX_FIFO_UNUSED)
continue;

iwlagn_tx_queue_set_status(priv, &priv->txq[i], ac, 0);
iwlagn_tx_queue_set_status(priv, &priv->txq[i], fifo, 0);
}

spin_unlock_irqrestore(&priv->lock, flags);
Expand Down

0 comments on commit a833da9

Please sign in to comment.