From owner-svn-src-all@FreeBSD.ORG Wed Oct 23 09:53:38 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0DFE38A2; Wed, 23 Oct 2013 09:53:38 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE4572142; Wed, 23 Oct 2013 09:53:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9N9rbW7011579; Wed, 23 Oct 2013 09:53:37 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9N9rbAk011578; Wed, 23 Oct 2013 09:53:37 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201310230953.r9N9rbAk011578@svn.freebsd.org> From: Kevin Lo Date: Wed, 23 Oct 2013 09:53:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r256955 - head/sys/dev/usb/wlan X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 09:53:38 -0000 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