diff options
author | kevlo <kevlo@FreeBSD.org> | 2015-09-16 07:18:54 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2015-09-16 07:18:54 +0000 |
commit | af485bf686fb554cd5596b8a02749434a7ef13fd (patch) | |
tree | 84f7444b4f521305f3d1da2a46aa89957b4599c4 /sys/dev/usb/wlan/if_run.c | |
parent | 68a13f6d1f437c932bd9658844215d4eb7fd1e4d (diff) | |
download | FreeBSD-src-af485bf686fb554cd5596b8a02749434a7ef13fd.zip FreeBSD-src-af485bf686fb554cd5596b8a02749434a7ef13fd.tar.gz |
Fix a debug message which didn't quite get it right about eeprom version.
Diffstat (limited to 'sys/dev/usb/wlan/if_run.c')
-rw-r--r-- | sys/dev/usb/wlan/if_run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index b787c03..87088c1 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -1730,7 +1730,7 @@ run_read_eeprom(struct run_softc *sc) /* read ROM version */ run_srom_read(sc, RT2860_EEPROM_VERSION, &val); - 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 */ run_srom_read(sc, RT2860_EEPROM_MAC01, &val); |