summaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-22 17:28:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-22 17:28:35 +0000
commitdfeb4636563a70cedb1164c281f9e5c2f9b0df70 (patch)
treeb98556a5d4a2c51a02ecf4d3a716678013a959c4 /package/mac80211
parent14b08b5a915124eb71fb0fd8509d6c760a93b80a (diff)
ath9k_htc: fix eeprom access breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24098 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch b/package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch
new file mode 100644
index 000000000..6dfd130ae
--- /dev/null
+++ b/package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch
@@ -0,0 +1,10 @@
+--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
++++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+@@ -641,6 +641,7 @@ static int ath9k_init_priv(struct ath9k_
+
+ ah->hw_version.devid = devid;
+ ah->hw_version.subsysid = 0; /* FIXME */
++ ah->ah_flags |= AH_USE_EEPROM;
+ priv->ah = ah;
+
+ common = ath9k_hw_common(ah);