Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 02:20:37 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270643 - head/sys/dev/usb/wlan
Message-ID:  <201408260220.s7Q2KbmB081960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408260220.s7Q2KbmB081960>