diff mbox

[1/4] Fix build problem, missing get_unaligned_le16

Message ID 1257719231-2031-2-git-send-email-hauke@hauke-m.de (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hauke Mehrtens Nov. 8, 2009, 10:27 p.m. UTC
None
diff mbox

Patch

diff --git a/compat/patches/06-header-changes.patch b/compat/patches/06-header-changes.patch
index ee0be7f..14e544a 100644
--- a/compat/patches/06-header-changes.patch
+++ b/compat/patches/06-header-changes.patch
@@ -16,6 +16,18 @@  cases.
  
  struct b43_wldev;
  
+--- a/drivers/net/wireless/libertas/assoc.c
++++ b/drivers/net/wireless/libertas/assoc.c
+@@ -5,6 +5,9 @@
+ #include <linux/ieee80211.h>
+ #include <linux/if_arp.h>
+ #include <net/lib80211.h>
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))
++#include <asm/unaligned.h>
++#endif
+ 
+ #include "assoc.h"
+ #include "decl.h"
 --- a/drivers/net/wireless/wl12xx/wl1251_main.c	2009-08-07 11:42:12.532495607 -0700
 +++ b/drivers/net/wireless/wl12xx/wl1251_main.c	2009-08-07 12:08:31.167548696 -0700
 @@ -26,6 +26,9 @@