diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-08-30 16:59:41 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-08-30 16:59:41 +0000 |
commit | dc53d28bcd6ec34a72358d99bbe1f84eefa98f88 (patch) | |
tree | 4659f5d11086d3325afd597cfeae61d6e105ef25 /package/acx-mac80211/patches/003-endianness_fixes.patch | |
parent | 52a138a9531aa82117216443ca1f346974e3a58e (diff) | |
download | master-31e0f0ae-dc53d28bcd6ec34a72358d99bbe1f84eefa98f88.tar.gz master-31e0f0ae-dc53d28bcd6ec34a72358d99bbe1f84eefa98f88.tar.bz2 master-31e0f0ae-dc53d28bcd6ec34a72358d99bbe1f84eefa98f88.zip |
acx-mac80211: another bigendian fix
SVN-Revision: 8553
Diffstat (limited to 'package/acx-mac80211/patches/003-endianness_fixes.patch')
-rw-r--r-- | package/acx-mac80211/patches/003-endianness_fixes.patch | 12 |
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 + |