summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-30 16:59:41 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-30 16:59:41 +0000
commitaa9f9d3ce349a46f65bea5fad969d43a0ecb69f7 (patch)
tree503bc0c85809a763a22a905693784728e566dc3a
parent866696c182185ed17346d2d59e2c18020f729224 (diff)
acx-mac80211: another bigendian fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8553 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/acx-mac80211/patches/003-endianness_fixes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/acx-mac80211/patches/003-endianness_fixes.patch b/package/acx-mac80211/patches/003-endianness_fixes.patch
index 5ced164799..f1d8da5b48 100644
--- a/package/acx-mac80211/patches/003-endianness_fixes.patch
+++ b/package/acx-mac80211/patches/003-endianness_fixes.patch
@@ -107,3 +107,15 @@
"waiting for cards to probe...\n");
res = pci_register_driver(&acxpci_drv_id);
+diff -ruN acx-mac80211-20070610-old/wlan_hdr.h acx-mac80211-20070610-new/wlan_hdr.h
+--- acx-mac80211-20070610-old/wlan_hdr.h 2007-06-10 20:23:27.000000000 +0200
++++ acx-mac80211-20070610-new/wlan_hdr.h 2007-08-30 18:56:23.000000000 +0200
+@@ -125,7 +125,7 @@
+ #define IEEE16(a,n) a = n, a##i = n,
+ #else
+ #ifdef __BIG_ENDIAN
+- #define IEEE16(a,n) a = n a##i = ((n&0xff)*256 + ((n&0xff00/256)),
++ #define IEEE16(a,n) a = n, a##i = ((n&0xff)*256 + (n&0xff00)/256),
+ #endif
+ #endif
+