Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=86760088a7c51ccc263ec3b8039ec9a7400a6d70
Commit: 86760088a7c51ccc263ec3b8039ec9a7400a6d70
Parent: bb793e2bfc25b8891b84b8fe3cb4b77cd4619814
Author: David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 23:39:34 2007 -0400
Committer: John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Jun 11 14:28:45 2007 -0400
[PATCH] libertas: more endianness fixes, in tx.c this time
Now we finally get connectivity. For a while, before something else dies...
Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
drivers/net/wireless/libertas/tx.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/libertas/tx.c
b/drivers/net/wireless/libertas/tx.c
index 10d1db0..17c4376 100644
--- a/drivers/net/wireless/libertas/tx.c
+++ b/drivers/net/wireless/libertas/tx.c
@@ -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));
}
@@ -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) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html