summaryrefslogtreecommitdiff
path: root/packages/zd1211/zd1211-r74/zd1211-endian-fix.patch
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2006-05-01 14:58:45 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-01 14:58:45 +0000
commit8c132cf8c6e9329d5e2b2760ca1e33710d9bf469 (patch)
treec6d1e7ee6ccef2313b7caea9615325b6e2c98ad2 /packages/zd1211/zd1211-r74/zd1211-endian-fix.patch
parent499ec6fe100fd5c74f55978b19bfd23bc9b2ea5c (diff)
zd1211: Updated to r74 driver, fixed ARM endian problem, added unslung patches.
Diffstat (limited to 'packages/zd1211/zd1211-r74/zd1211-endian-fix.patch')
-rw-r--r--packages/zd1211/zd1211-r74/zd1211-endian-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/zd1211/zd1211-r74/zd1211-endian-fix.patch b/packages/zd1211/zd1211-r74/zd1211-endian-fix.patch
new file mode 100644
index 0000000000..c694174fee
--- /dev/null
+++ b/packages/zd1211/zd1211-r74/zd1211-endian-fix.patch
@@ -0,0 +1,11 @@
+--- zd1211-driver-r67/src/zd1211.c~ 2006-02-16 15:33:51.000000000 -0600
++++ zd1211-driver-r67/src/zd1211.c 2006-04-30 22:47:13.000000000 -0500
+@@ -2228,7 +2228,7 @@
+
+ if (CurFrmLen & 0x03)
+ tmpLen += 4;
+- rfd->ActualCount += macp->rxOffset;
++ rfd->ActualCount = cpu_to_le32(CurFrmLen + macp->rxOffset);
+ }
+ } else {
+ // last_pkt_len = 509, 510, 511