aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ral
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2015-09-16 07:18:54 +0000
committerKevin Lo <kevlo@FreeBSD.org>2015-09-16 07:18:54 +0000
commit4bae8310037676061279421a6cbde7ec8c318df7 (patch)
tree84f7444b4f521305f3d1da2a46aa89957b4599c4 /sys/dev/ral
parentf75281b8f21180a3b7a5f5dee91590b1a580d012 (diff)
downloadsrc-4bae8310037676061279421a6cbde7ec8c318df7.tar.gz
src-4bae8310037676061279421a6cbde7ec8c318df7.zip
Fix a debug message which didn't quite get it right about eeprom version.
Notes
Notes: svn path=/head/; revision=287853
Diffstat (limited to 'sys/dev/ral')
-rw-r--r--sys/dev/ral/rt2860.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ral/rt2860.c b/sys/dev/ral/rt2860.c
index b3c737d67c66..48c3ed8c88f5 100644
--- a/sys/dev/ral/rt2860.c
+++ b/sys/dev/ral/rt2860.c
@@ -3351,7 +3351,7 @@ rt2860_read_eeprom(struct rt2860_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN])
/* read EEPROM version */
val = rt2860_srom_read(sc, RT2860_EEPROM_VERSION);
- DPRINTF(("EEPROM rev=%d, FAE=%d\n", val & 0xff, val >> 8));
+ DPRINTF(("EEPROM rev=%d, FAE=%d\n", val >> 8, val & 0xff));
/* read MAC address */
val = rt2860_srom_read(sc, RT2860_EEPROM_MAC01);