Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 09:53: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: r256955 - head/sys/dev/usb/wlan
Message-ID:  <201310230953.r9N9rbAk011578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Wed Oct 23 09:53:37 2013
New Revision: 256955
URL: http://svnweb.freebsd.org/changeset/base/256955

Log:
  Fix the RT2860_TX_SW_CFG2 init value on older revisions of RT3070 chip.

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	Wed Oct 23 09:21:14 2013	(r256954)
+++ head/sys/dev/usb/wlan/if_run.c	Wed Oct 23 09:53:37 2013	(r256955)
@@ -4634,7 +4634,7 @@ run_rt3070_rf_setup(struct run_softc *sc
 			run_bbp_write(sc, 31, bbp & ~0x03);
 		}
 
-		if (sc->mac_rev < 0x0211) {
+		if (sc->mac_rev < 0x0201) {
 			run_write(sc, RT2860_TX_SW_CFG1, 0);
 			run_write(sc, RT2860_TX_SW_CFG2, 0x2c);
 		} else



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