ath9k_htc: fix eeprom access breakage
authorFelix Fietkau <nbd@openwrt.org>
Mon, 22 Nov 2010 17:28:35 +0000 (17:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 22 Nov 2010 17:28:35 +0000 (17:28 +0000)
SVN-Revision: 24098

package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch [new file with mode: 0644]

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 (file)
index 0000000..6dfd130
--- /dev/null
@@ -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);