All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] compat-2.6: update compat.diff
@ 2009-05-17 12:47 Hauke Mehrtens
  2009-05-17 12:47 ` [PATCH 2/4] compat-2.6: Add WL12XX driver Hauke Mehrtens
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hauke Mehrtens @ 2009-05-17 12:47 UTC (permalink / raw)
  To: lrodriguez; +Cc: linux-wireless, stecklum, me, breusshe, Hauke Mehrtens

In kernel versions > 2.9.28 linux/etherdevice.h includes asm/unaligned.h.
This is needed by net/mac80211/key.c.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 compat/compat.diff |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/compat/compat.diff b/compat/compat.diff
index 725aadf..3ee9e86 100644
--- a/compat/compat.diff
+++ b/compat/compat.diff
@@ -542,6 +542,18 @@
  	if (ieee80211_vif_is_mesh(&sdata->vif) &&
  	    params && params->mesh_id_len)
  		ieee80211_sdata_set_mesh_id(sdata,
+--- a/net/mac80211/key.c
++++ b/net/mac80211/key.c
+@@ -21,6 +21,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
 --- a/net/mac80211/main.c	2009-04-28 15:34:50.000000000 -0700
 +++ b/net/mac80211/main.c	2009-04-28 15:35:06.000000000 -0700
 @@ -469,6 +469,7 @@
-- 
1.6.2.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-18 15:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17 12:47 [PATCH 1/4] compat-2.6: update compat.diff Hauke Mehrtens
2009-05-17 12:47 ` [PATCH 2/4] compat-2.6: Add WL12XX driver Hauke Mehrtens
2009-05-17 12:47 ` [PATCH 3/4] compat-2.6: Add libertas_spi module Hauke Mehrtens
2009-05-17 12:47 ` [PATCH 4/4] compat-2.6: Fixed module_disable function with old module-init-tools Hauke Mehrtens
2009-05-18 15:41 ` [PATCH 1/4] compat-2.6: update compat.diff Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.