cozybit/authsae — pull request #12 by MichelStam (2014-01-31 15:42:10+00:00)
Title: Fixed endianness issue reported by Francois Gervais

It seems that with our cross-compile toolchain __BYTE_ORDER == __LITTLE_ENDIAN is not true even if the system is little endian. Probably one of both of these are not defined or not defined correctly. This caused the wrong function to be used in ieee802_11.h.

This in turn caused by:

frame_control = ieee_order(frame->frame_control);

to invert bytes.