From owner-svn-src-all@FreeBSD.ORG Sat Jan 29 04:34:31 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41774106564A; Sat, 29 Jan 2011 04:34:31 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3219D8FC08; Sat, 29 Jan 2011 04:34:31 +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 p0T4YVFB018070; Sat, 29 Jan 2011 04:34:31 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0T4YVem018068; Sat, 29 Jan 2011 04:34:31 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201101290434.p0T4YVem018068@svn.freebsd.org> From: Adrian Chadd Date: Sat, 29 Jan 2011 04:34:31 +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: r218057 - head/tools/tools/ath/athpow X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 29 Jan 2011 04:34:31 -0000 Author: adrian Date: Sat Jan 29 04:34:30 2011 New Revision: 218057 URL: http://svn.freebsd.org/changeset/base/218057 Log: Keep this in sync with the ar5212 power rate table size. This doesn't yet know about the 802.11n radios or rates. Modified: head/tools/tools/ath/athpow/athpow.c Modified: head/tools/tools/ath/athpow/athpow.c ============================================================================== --- head/tools/tools/ath/athpow/athpow.c Sat Jan 29 02:36:45 2011 (r218056) +++ head/tools/tools/ath/athpow/athpow.c Sat Jan 29 04:34:30 2011 (r218057) @@ -78,7 +78,7 @@ main(int argc, char *argv[]) const char *ifname; HAL_REVS revs; u_int16_t pcdacTable[MAX(PWR_TABLE_SIZE,PWR_TABLE_SIZE_2413)]; - u_int16_t ratesArray[16]; + u_int16_t ratesArray[37]; u_int nrates, npcdac; s = socket(AF_INET, SOCK_DGRAM, 0);