Browse Source

ath9k_htc: fix eeprom access breakage

SVN-Revision: 24098
Felix Fietkau 15 years ago
parent
commit
d67201d8cc
1 changed files with 10 additions and 0 deletions
  1. 10 0
      package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch

+ 10 - 0
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);