summaryrefslogtreecommitdiff
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
commitd67201d8cc3e4f60a7905e1c3e1f3bd222596a86 (patch)
tree8d22efe64e0cae4442b945fbb0355e0977e4b33b /package/mac80211/patches
parent2cec381e97d7f19c64077364823cecefd42f7039 (diff)
downloadmtk-20170518-d67201d8cc3e4f60a7905e1c3e1f3bd222596a86.zip
mtk-20170518-d67201d8cc3e4f60a7905e1c3e1f3bd222596a86.tar.gz
mtk-20170518-d67201d8cc3e4f60a7905e1c3e1f3bd222596a86.tar.bz2
ath9k_htc: fix eeprom access breakage
SVN-Revision: 24098
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 0000000..6dfd130
--- /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);