aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/409-ath9k-fix-compile-error-in-debug.c.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-03-06 10:26:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-03-06 10:26:18 +0000
commitdd83b6c7aefff22302cec34dbc9cc3785d3fb8f4 (patch)
treeeaac7f1065faf2d1daf89949eb5085a3788afd9e /package/mac80211/patches/409-ath9k-fix-compile-error-in-debug.c.patch
parent980d3e646146f7e6ea70edae09f38b0cb4858511 (diff)
downloadmaster-187ad058-dd83b6c7aefff22302cec34dbc9cc3785d3fb8f4.tar.gz
master-187ad058-dd83b6c7aefff22302cec34dbc9cc3785d3fb8f4.tar.bz2
master-187ad058-dd83b6c7aefff22302cec34dbc9cc3785d3fb8f4.zip
[package] mac80211: update compat-wireless to 2009-03-05, add more rt2x00 and ath9k patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14757 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/409-ath9k-fix-compile-error-in-debug.c.patch')
-rw-r--r--package/mac80211/patches/409-ath9k-fix-compile-error-in-debug.c.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/mac80211/patches/409-ath9k-fix-compile-error-in-debug.c.patch b/package/mac80211/patches/409-ath9k-fix-compile-error-in-debug.c.patch
new file mode 100644
index 0000000000..8f655df57a
--- /dev/null
+++ b/package/mac80211/patches/409-ath9k-fix-compile-error-in-debug.c.patch
@@ -0,0 +1,27 @@
+From 15af1877e9fbb75c4a7506ab86e743c49a195e97 Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Fri, 6 Mar 2009 09:46:27 +0100
+Subject: [PATCH 2/2] ath9k: fix compile error in debug.c
+
+drivers/net/wireless/ath9k/debug.c: In function 'read_file_wiphy':
+drivers/net/wireless/ath9k/debug.c:377: error: implicit declaration of
+function 'put_unaligned_le32'
+drivers/net/wireless/ath9k/debug.c:378: error: implicit declaration of
+function 'put_unaligned_le16'
+
+Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+---
+ drivers/net/wireless/ath9k/debug.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+--- a/drivers/net/wireless/ath9k/debug.c
++++ b/drivers/net/wireless/ath9k/debug.c
+@@ -14,6 +14,8 @@
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#include <asm/unaligned.h>
++
+ #include "ath9k.h"
+
+ static unsigned int ath9k_debug = DBG_DEFAULT;