Search Linux Wireless

[PATCH 5/8] compat-wireless: add asm/unaligned.h include to ath6kl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some old kernel versions are missing this include and we get a compile
error because of missing get_unaligned_le16() prototype.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/06-header-changes.patch |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/patches/06-header-changes.patch b/patches/06-header-changes.patch
index db84468..d77e5fb 100644
--- a/patches/06-header-changes.patch
+++ b/patches/06-header-changes.patch
@@ -105,3 +105,13 @@ cases.
  
  #include "hidp.h"
  
+--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
++++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
+@@ -20,6 +20,7 @@
+ #include <linux/moduleparam.h>
+ #include <linux/inetdevice.h>
+ #include <linux/export.h>
++#include <asm/unaligned.h>
+ 
+ #include "core.h"
+ #include "cfg80211.h"
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux