summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-14 00:09:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-14 00:09:26 +0000
commit396a3c5385f9e90f909520144dc007c0eb9c982a (patch)
treefc021111c7c54c71c3cb5014ec4e66db8989547e /package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch
parent5f5ed3f10957d53857d3ff230ec8d36c2823b289 (diff)
downloadmaster-31e0f0ae-396a3c5385f9e90f909520144dc007c0eb9c982a.tar.gz
master-31e0f0ae-396a3c5385f9e90f909520144dc007c0eb9c982a.tar.bz2
master-31e0f0ae-396a3c5385f9e90f909520144dc007c0eb9c982a.zip
mac80211: update to wireless-testing 2010-04-13, add some more fixes for the ar9300 patch set, fixes #7135
SVN-Revision: 20849
Diffstat (limited to 'package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch')
-rw-r--r--package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch b/package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch
index dec49362f3..1391da3c70 100644
--- a/package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch
+++ b/package/mac80211/patches/409-ath9k-add-wndr3700-antenna-initialization.patch
@@ -1,14 +1,14 @@
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -14,6 +14,7 @@
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
+@@ -16,6 +16,7 @@
+
+ #include <linux/slab.h>
+#include "linux/ath9k_platform.h"
#include "ath9k.h"
static char *dev_info = "ath9k";
-@@ -555,6 +556,8 @@ static int ath9k_init_softc(u16 devid, s
+@@ -557,6 +558,8 @@ static int ath9k_init_softc(u16 devid, s
pdata = (struct ath9k_platform_data *) sc->dev->platform_data;
if (!pdata)
ah->ah_flags |= AH_USE_EEPROM;
@@ -17,7 +17,7 @@
common = ath9k_hw_common(ah);
common->ops = &ath9k_common_ops;
-@@ -677,6 +680,24 @@ void ath9k_set_hw_capab(struct ath_softc
+@@ -679,6 +682,24 @@ void ath9k_set_hw_capab(struct ath_softc
SET_IEEE80211_PERM_ADDR(hw, common->macaddr);
}
@@ -42,7 +42,7 @@
int ath9k_init_device(u16 devid, struct ath_softc *sc, u16 subsysid,
const struct ath_bus_ops *bus_ops)
{
-@@ -695,6 +716,9 @@ int ath9k_init_device(u16 devid, struct
+@@ -697,6 +718,9 @@ int ath9k_init_device(u16 devid, struct
common = ath9k_hw_common(ah);
ath9k_set_hw_capab(sc, hw);