diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-11-19 00:57:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-11-19 00:57:35 +0000 |
commit | a9ef165cff0f9c867a0d9db2b150029fa0f1da9c (patch) | |
tree | 76607e3156afcac96c7d19279b11128de6e408ca /package/mac80211/patches/409-ath9k_platform_settings.patch | |
parent | 74d8aaa31461fba25ea74f6a168b9a22944430de (diff) | |
download | master-31e0f0ae-a9ef165cff0f9c867a0d9db2b150029fa0f1da9c.tar.gz master-31e0f0ae-a9ef165cff0f9c867a0d9db2b150029fa0f1da9c.tar.bz2 master-31e0f0ae-a9ef165cff0f9c867a0d9db2b150029fa0f1da9c.zip |
ath9k: rework the mac address override patch to not break ath9k_htc
SVN-Revision: 24031
Diffstat (limited to 'package/mac80211/patches/409-ath9k_platform_settings.patch')
-rw-r--r-- | package/mac80211/patches/409-ath9k_platform_settings.patch | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/package/mac80211/patches/409-ath9k_platform_settings.patch b/package/mac80211/patches/409-ath9k_platform_settings.patch index 8c2a5e606c..c0530fd9fe 100644 --- a/package/mac80211/patches/409-ath9k_platform_settings.patch +++ b/package/mac80211/patches/409-ath9k_platform_settings.patch @@ -1,22 +1,6 @@ --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -17,6 +17,7 @@ - #include <linux/slab.h> - #include <linux/pm_qos_params.h> - -+#include "linux/ath9k_platform.h" - #include "ath9k.h" - - static char *dev_info = "ath9k"; -@@ -522,6 +523,7 @@ static int ath9k_init_softc(u16 devid, s - { - struct ath_hw *ah = NULL; - struct ath_common *common; -+ struct ath9k_platform_data *pdata; - int ret = 0, i; - int csz = 0; - -@@ -533,8 +535,15 @@ static int ath9k_init_softc(u16 devid, s +@@ -535,8 +535,15 @@ static int ath9k_init_softc(u16 devid, s ah->hw_version.subsysid = subsysid; sc->sc_ah = ah; |