svn commit: r256955 - head/sys/dev/usb/wlan

Kevin Lo kevlo at FreeBSD.org
Wed Oct 23 09:53:38 UTC 2013


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


More information about the svn-src-head mailing list