From owner-svn-src-head@FreeBSD.ORG Fri Apr 9 13:58:54 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3CCC106566B; Fri, 9 Apr 2010 13:58:54 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 925678FC12; Fri, 9 Apr 2010 13:58:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o39DwsFL056108; Fri, 9 Apr 2010 13:58:54 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o39Dwshi056106; Fri, 9 Apr 2010 13:58:54 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <201004091358.o39Dwshi056106@svn.freebsd.org> From: Rui Paulo Date: Fri, 9 Apr 2010 13:58:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206420 - head/sys/dev/ath/ath_hal/ar5416 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 13:58:54 -0000 Author: rpaulo Date: Fri Apr 9 13:58:54 2010 New Revision: 206420 URL: http://svn.freebsd.org/changeset/base/206420 Log: Setup the correct RX/TX chainmask when we play with the antenna settings. MFC after: 1 week Sponsored by: iXsystems, inc Modified: head/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Fri Apr 9 12:06:19 2010 (r206419) +++ head/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Fri Apr 9 13:58:54 2010 (r206420) @@ -378,8 +378,8 @@ ar9285SetAntennaSwitch(struct ath_hal *a case HAL_ANT_VARIABLE: /* Restore original chainmask settings */ /* XXX */ - ahp->ah_tx_chainmask = AR5416_DEFAULT_TXCHAINMASK; - ahp->ah_rx_chainmask = AR5416_DEFAULT_RXCHAINMASK; + ahp->ah_tx_chainmask = AR9285_DEFAULT_TXCHAINMASK; + ahp->ah_rx_chainmask = AR9285_DEFAULT_RXCHAINMASK; break; } return AH_TRUE;