summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/408-ath9k-fix-compile-error-in-ahb.c.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-06 10:26:18 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-06 10:26:18 +0000
commit54b995e5a80621b45a46d8c9452aa8fe7f57fd9e (patch)
treeeaac7f1065faf2d1daf89949eb5085a3788afd9e /package/mac80211/patches/408-ath9k-fix-compile-error-in-ahb.c.patch
parentb0a9123f24492825c245bb631cd80ec9b5972485 (diff)
[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/408-ath9k-fix-compile-error-in-ahb.c.patch')
-rw-r--r--package/mac80211/patches/408-ath9k-fix-compile-error-in-ahb.c.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/mac80211/patches/408-ath9k-fix-compile-error-in-ahb.c.patch b/package/mac80211/patches/408-ath9k-fix-compile-error-in-ahb.c.patch
new file mode 100644
index 000000000..730c27b5f
--- /dev/null
+++ b/package/mac80211/patches/408-ath9k-fix-compile-error-in-ahb.c.patch
@@ -0,0 +1,24 @@
+From c464fc7b864a15422d2d7e52f3ac3c09999a8514 Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Fri, 6 Mar 2009 09:46:06 +0100
+Subject: [PATCH 1/2] ath9k: fix compile error in ahb.c
+
+drivers/net/wireless/ath9k/ahb.c: In function 'ath_ahb_probe':
+drivers/net/wireless/ath9k/ahb.c:136: error: 'aphy' undeclared (first
+use in this function)
+
+Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+---
+ drivers/net/wireless/ath9k/ahb.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+--- a/drivers/net/wireless/ath9k/ahb.c
++++ b/drivers/net/wireless/ath9k/ahb.c
+@@ -60,6 +60,7 @@ static struct ath_bus_ops ath_ahb_bus_op
+ static int ath_ahb_probe(struct platform_device *pdev)
+ {
+ void __iomem *mem;
++ struct ath_wiphy *aphy;
+ struct ath_softc *sc;
+ struct ieee80211_hw *hw;
+ struct resource *res;