openwrt/package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch

11 lines
326 B
Diff

--- 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);