compat-wireless: fix compilation of ath6kl on 2.6.27
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Sun, 1 Apr 2012 04:34:15 +0000 (21:34 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Sun, 1 Apr 2012 04:34:15 +0000 (21:34 -0700)
Some drivers rely on some other part of the kernel to include
in.h but on older kernels this proves to not work. Explicitly
include that file. This fixes compilation of ath6kl on 2.6.27.
This patch will be sent upstream though.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/51-in-header.patch [new file with mode: 0644]

diff --git a/patches/51-in-header.patch b/patches/51-in-header.patch
new file mode 100644 (file)
index 0000000..6e3159a
--- /dev/null
@@ -0,0 +1,15 @@
+Some drivers rely on some other part of the kernel to include
+in.h but on older kernels this proves to not work. Explicitly
+include that file. This fixes compilation of ath6kl on 2.6.27.
+This patch will be sent upstream though.
+
+--- a/drivers/net/wireless/ath/ath6kl/wmi.c
++++ b/drivers/net/wireless/ath/ath6kl/wmi.c
+@@ -16,6 +16,7 @@
+  */
+ #include <linux/ip.h>
++#include <linux/in.h>
+ #include "core.h"
+ #include "debug.h"
+ #include "testmode.h"