mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ath9k_htc: fix eeprom access breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24098 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9eff69c58f
commit
0d9397dfa8
10
package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch
Normal file
10
package/mac80211/patches/540-ath9k_htc_fix_eeprom.patch
Normal file
@ -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);
|
||||
Loading…
x
Reference in New Issue
Block a user