Fix typo: s/mac_rev/mac_ver/

Submitted by:	Stefan Sperling <stsp at openbsd dot org>
This commit is contained in:
Kevin Lo 2014-08-26 02:20:37 +00:00
parent af9f67ea3d
commit 15cb19cd6a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270643

View file

@ -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;