mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
ath9k: fix ar9003_get_eepmisc
The current implementation is reading the wrong eeprom type.
Fixes: d8ec2e2a63
("ath9k: Add an eeprom_ops callback for retrieving the eepmisc value")
Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220320233010.123106-5-wlooi@ucalgary.ca
This commit is contained in:
parent
3096a4d9eb
commit
9aaff3864b
1 changed files with 1 additions and 1 deletions
|
@ -5615,7 +5615,7 @@ unsigned int ar9003_get_paprd_scale_factor(struct ath_hw *ah,
|
|||
|
||||
static u8 ar9003_get_eepmisc(struct ath_hw *ah)
|
||||
{
|
||||
return ah->eeprom.map4k.baseEepHeader.eepMisc;
|
||||
return ah->eeprom.ar9300_eep.baseEepHeader.opCapFlags.eepMisc;
|
||||
}
|
||||
|
||||
const struct eeprom_ops eep_ar9300_ops = {
|
||||
|
|
Loading…
Add table
Reference in a new issue