aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-10 13:16:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-10 13:16:50 +0000
commitab9a6b43eb49e9aa1ecb82217112c180416f6436 (patch)
treeb8f3de63368dad48fb364816ec1261b16499af08 /package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch
parent7a09738234211d99af8e9a02bb317cb171c012f0 (diff)
downloadmaster-187ad058-ab9a6b43eb49e9aa1ecb82217112c180416f6436.tar.gz
master-187ad058-ab9a6b43eb49e9aa1ecb82217112c180416f6436.tar.bz2
master-187ad058-ab9a6b43eb49e9aa1ecb82217112c180416f6436.zip
package/madwifi: apply AR71XX PCI workaround on ATH79 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30414 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch')
-rw-r--r--package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch b/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch
index 2bcd09d863..0c35050c51 100644
--- a/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch
+++ b/package/madwifi/patches/470-mac_addresss_from_ath5k_platform_data.patch
@@ -32,5 +32,5 @@
+ ath_hal_setmac(ah, pdata->macaddr);
+#endif
/* WAR for AR7100 PCI bug */
- #ifdef CONFIG_ATHEROS_AR71XX
+ #if defined(CONFIG_ATHEROS_AR71XX) || defined(CONFIG_ATH79)
if ((ar_device(sc->devid) >= 5210) && (ar_device(sc->devid) < 5416)) {