ath_hal/ar9300: allow JUPITER cards to read eeprom
authorBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 12 Mar 2024 21:22:36 +0000 (21:22 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 12 Mar 2024 21:56:56 +0000 (21:56 +0000)
commitf254aad33dfb5ce18b6b97b7d036b420310e9ed5
tree7101e244922e03855fe4b4283f20c350855233c4
parent8f86c108219779337905c871312d85aab9322ff3
ath_hal/ar9300: allow JUPITER cards to read eeprom

Summary:
In ar9300_eeprom_read_word() also allow JUPITER cards read the eeprom
instead of returning an error.  While this will not help all the
9462, 9485, 9565 OEM cards to work, it will make debugging of the
next steps a lot easier.

While here fix a typo in the error message if we do not get CAL.

PR: 255337
Tested by: John Nielsen (john jnielsen net)
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D44328
sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c