From 6c2f29db978d4847c1414c489487bca030425451 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 4 Aug 2009 13:37:41 -0700 Subject: [PATCH] Move mac80211 key.c changes to 07-header-changes.patch Signed-off-by: Luis R. Rodriguez --- compat/compat.diff | 12 ------------ compat/diffs/07-header-changes.patch | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/compat/compat.diff b/compat/compat.diff index 6fe3b16eb63e..65ebc4e0ec83 100644 --- a/compat/compat.diff +++ b/compat/compat.diff @@ -57,18 +57,6 @@ /* ---- 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 -+#endif - - /** - * DOC: Key handling basics --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c @@ -22,7 +22,7 @@ struct rate_control_alg { diff --git a/compat/diffs/07-header-changes.patch b/compat/diffs/07-header-changes.patch index 3a6f295726a3..76e95d9b87e5 100644 --- a/compat/diffs/07-header-changes.patch +++ b/compat/diffs/07-header-changes.patch @@ -53,3 +53,15 @@ +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) #include +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */ +--- 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 ++#endif + + /** + * DOC: Key handling basics -- 2.30.2