svn commit: r270643 - head/sys/dev/usb/wlan
Kevin Lo
kevlo at FreeBSD.org
Tue Aug 26 02:20:38 UTC 2014
Author: kevlo
Date: Tue Aug 26 02:20:37 2014
New Revision: 270643
URL: http://svnweb.freebsd.org/changeset/base/270643
Log:
Fix typo: s/mac_rev/mac_ver/
Submitted by: Stefan Sperling <stsp at openbsd dot org>
Modified:
head/sys/dev/usb/wlan/if_run.c
Modified: head/sys/dev/usb/wlan/if_run.c
==============================================================================
--- head/sys/dev/usb/wlan/if_run.c Mon Aug 25 22:31:04 2014 (r270642)
+++ head/sys/dev/usb/wlan/if_run.c Tue Aug 26 02:20:37 2014 (r270643)
@@ -5490,7 +5490,7 @@ run_rt3070_rf_init(struct run_softc *sc)
run_rt3070_rf_write(sc, 17, rf);
}
- if (sc->mac_rev == 0x3071) {
+ if (sc->mac_ver == 0x3071) {
run_rt3070_rf_read(sc, 1, &rf);
rf &= ~(RT3070_RX0_PD | RT3070_TX0_PD);
rf |= RT3070_RF_BLOCK | RT3070_RX1_PD | RT3070_TX1_PD;
More information about the svn-src-all
mailing list