svn commit: r270843 - stable/10/sys/dev/usb/wlan
Kevin Lo
kevlo at FreeBSD.org
Sat Aug 30 14:24:21 UTC 2014
Author: kevlo
Date: Sat Aug 30 14:24:20 2014
New Revision: 270843
URL: http://svnweb.freebsd.org/changeset/base/270843
Log:
MFC r270643:
Fix typo: s/mac_rev/mac_ver/
Submitted by: Stefan Sperling <stsp at openbsd dot org>
Modified:
stable/10/sys/dev/usb/wlan/if_run.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/usb/wlan/if_run.c
==============================================================================
--- stable/10/sys/dev/usb/wlan/if_run.c Sat Aug 30 13:47:05 2014 (r270842)
+++ stable/10/sys/dev/usb/wlan/if_run.c Sat Aug 30 14:24:20 2014 (r270843)
@@ -5488,7 +5488,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-stable
mailing list