Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172213
b: refs/heads/master
c: 6b65b6a
h: refs/heads/master
i:
  172211: 9b20b8e
v: v3
  • Loading branch information
Samuel Ortiz authored and John W. Linville committed Nov 28, 2009
1 parent 2dac1e5 commit 54abd8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: b136b3a2c1867172cd3de6e7286c600b04543b30
refs/heads/master: 6b65b6ad016f048547127946d1afe4ba41c74296
9 changes: 1 addition & 8 deletions trunk/drivers/net/wireless/iwmc3200wifi/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,6 @@ static int iwm_tx_send_concat_packets(struct iwm_priv *iwm,
return ret;
}

#define CONFIG_IWM_TX_CONCATENATED 1

void iwm_tx_worker(struct work_struct *work)
{
struct iwm_priv *iwm;
Expand Down Expand Up @@ -414,11 +412,6 @@ void iwm_tx_worker(struct work_struct *work)
"%d, color: %d\n", txq->id, skb, tx_info->sta,
tx_info->color);

#if !CONFIG_IWM_TX_CONCATENATED
/* temporarily keep this to comparing the performance */
ret = iwm_send_packet(iwm, skb, pool_id);
#else

if (txq->concat_count + cmdlen > IWM_HAL_CONCATENATE_BUF_SIZE)
iwm_tx_send_concat_packets(iwm, txq);

Expand All @@ -440,7 +433,7 @@ void iwm_tx_worker(struct work_struct *work)
txq->concat_count += ALIGN(cmdlen, 16);

mutex_unlock(&tid_info->mutex);
#endif

kfree_skb(skb);
}

Expand Down

0 comments on commit 54abd8b

Please sign in to comment.