On Mon, 2008-02-25 at 12:58 -0800, Luis Carlos Cobo wrote: > On Sat, 2008-02-23 at 15:17 +0100, Johannes Berg wrote: > > Currently marked BROKEN because of endianness problems. > > Will take care of those problems. Oh this reminds me. You have a lot of macros like #define PREQ_IE_ORIG_DSN(x) le32_to_cpu(*((u32 *) (x + 13))) Would it be possible to define the preq IE as a struct? Not sure if it is. Either way, this should be converted to a static inline instead of a macro. Also, you need to add a lot of get_unaligned() to the code. Please read Daniel's excellent Documentation/unaligned-memory-access.txt johannes
Attachment:
signature.asc
Description: This is a digitally signed message part