ath9k: fix ar9003_get_eepmisc
authorWenli Looi <wlooi@ucalgary.ca>
Sun, 20 Mar 2022 23:30:08 +0000 (17:30 -0600)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 25 Mar 2022 10:33:07 +0000 (12:33 +0200)
commit9aaff3864b603408c02c629957ae8d8ff5d5a4f2
treedcd63e474ae2a392bd8c8da79694ee791f0edb72
parent3096a4d9eb9bf8a0975c222bd7013d2db323d749
ath9k: fix ar9003_get_eepmisc

The current implementation is reading the wrong eeprom type.

Fixes: d8ec2e2a63e8 ("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
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c