1 2 3 4 5 6 7 8 9 10 11 12
--- a/net/mac80211/key.c +++ b/net/mac80211/key.c @@ -24,6 +24,9 @@ #include "aes_ccm.h" #include "aes_cmac.h" +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) +#include <asm/unaligned.h> +#endif /** * DOC: Key handling basics