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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"