The follow patch correct the compat-wireless unaligened inconsistency:

package/mac80211/patches/001-unaligned.patch

--- a/include/linux/unaligned/packed_struct.h       2008-05-19
08:45:16.000000000 -0400
+++ b/include/linux/unaligned/packed_struct.h     2008-05-31
12:49:21.000000000 -0400
@@ -2,11 +2,12 @@
 #define _LINUX_UNALIGNED_PACKED_STRUCT_H

 #include <linux/kernel.h>
-
+#include <asm-generic/unaligned.h>
+/*
 struct __una_u16 { u16 x __attribute__((packed)); };
 struct __una_u32 { u32 x __attribute__((packed)); };
 struct __una_u64 { u64 x __attribute__((packed)); };
-
+*/
 static inline u16 __get_unaligned_cpu16(const void *p)
 {
        const struct __una_u16 *ptr = (const struct __una_u16 *)p;


_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to