aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-22 17:28:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-11-22 17:28:35 +0000
commit0d9397dfa8554fffcbe12cd7f001d43cd836a845 (patch)
treeb98556a5d4a2c51a02ecf4d3a716678013a959c4 /package/mac80211/patches
parent9eff69c58f4f0189ed6901622d081d12cb79ba01 (diff)
downloadupstream-0d9397dfa8554fffcbe12cd7f001d43cd836a845.tar.gz
upstream-0d9397dfa8554fffcbe12cd7f001d43cd836a845.tar.bz2
upstream-0d9397dfa8554fffcbe12cd7f001d43cd836a845.zip
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/patches')
-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 0000000000..6dfd130ae3
--- /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);