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 | 57f294bfbe5d1ec1bddbe17005b30efbfb5f923c (patch) | |
tree | e2229496c5e5b6c76362ce8c67957c8fbe6e387b /package/mac80211/patches/409-ath9k_platform_settings.patch | |
parent | 0fc329a77d656432d4a5b38bc1fc4f486ca88130 (diff) | |
download | master-187ad058-57f294bfbe5d1ec1bddbe17005b30efbfb5f923c.tar.gz master-187ad058-57f294bfbe5d1ec1bddbe17005b30efbfb5f923c.tar.bz2 master-187ad058-57f294bfbe5d1ec1bddbe17005b30efbfb5f923c.zip |
ath9k: rework the mac address override patch to not break ath9k_htc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24031 3c298f89-4303-0410-b956-a3cf2f4a3e73
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; |