Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57680
b: refs/heads/master
c: 8676008
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and John W. Linville committed Jun 11, 2007
1 parent 9e5941c commit 5b8e27d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: bb793e2bfc25b8891b84b8fe3cb4b77cd4619814
refs/heads/master: 86760088a7c51ccc263ec3b8039ec9a7400a6d70
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/libertas/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static int SendSinglePacket(wlan_private * priv, struct sk_buff *skb)
/* skip the radiotap header */
p802x_hdr += sizeof(struct tx_radiotap_hdr);
plocaltxpd->tx_packet_length =
cpu_to_le32(le32_to_cpu(plocaltxpd->tx_packet_length)
cpu_to_le16(le16_to_cpu(plocaltxpd->tx_packet_length)
- sizeof(struct tx_radiotap_hdr));

}
Expand All @@ -130,11 +130,11 @@ static int SendSinglePacket(wlan_private * priv, struct sk_buff *skb)

ptr += sizeof(struct txpd);

lbs_dbg_hex("Tx Data", (u8 *) p802x_hdr, le32_to_cpu(plocaltxpd->tx_packet_length));
memcpy(ptr, p802x_hdr, le32_to_cpu(plocaltxpd->tx_packet_length));
lbs_dbg_hex("Tx Data", (u8 *) p802x_hdr, le16_to_cpu(plocaltxpd->tx_packet_length));
memcpy(ptr, p802x_hdr, le16_to_cpu(plocaltxpd->tx_packet_length));
ret = priv->hw_host_to_card(priv, MVMS_DAT,
priv->adapter->tmptxbuf,
le32_to_cpu(plocaltxpd->tx_packet_length) +
le16_to_cpu(plocaltxpd->tx_packet_length) +
sizeof(struct txpd));

if (ret) {
Expand Down

0 comments on commit 5b8e27d

Please sign in to comment.