Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224585
b: refs/heads/master
c: 2cb7865
h: refs/heads/master
i:
  224583: 9a5443a
v: v3
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Nov 16, 2010
1 parent c577c56 commit f309790
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: 8f0729b16ae354f9db89394fc1d2d65003455d56
refs/heads/master: 2cb7865648e44647a976875428c9dfd9d5553221
9 changes: 1 addition & 8 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ static int iwl3945_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
dma_addr_t phys_addr;
dma_addr_t txcmd_phys;
int txq_id = skb_get_queue_mapping(skb);
u16 len, idx, len_org, hdr_len; /* TODO: len_org is not used */
u16 len, idx, hdr_len;
u8 id;
u8 unicast;
u8 sta_id;
Expand Down Expand Up @@ -612,15 +612,8 @@ static int iwl3945_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
*/
len = sizeof(struct iwl3945_tx_cmd) +
sizeof(struct iwl_cmd_header) + hdr_len;

len_org = len;
len = (len + 3) & ~3;

if (len_org != len)
len_org = 1;
else
len_org = 0;

/* Physical address of this Tx command's header (not MAC header!),
* within command buffer array. */
txcmd_phys = pci_map_single(priv->pci_dev, &out_cmd->hdr,
Expand Down

0 comments on commit f309790

Please sign in to comment.