From owner-svn-src-head@FreeBSD.ORG Tue Feb 23 19:44:52 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 5950E1065698; Tue, 23 Feb 2010 19:44:52 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 48F7B8FC0C; Tue, 23 Feb 2010 19:44:52 +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 o1NJiqxr061636; Tue, 23 Feb 2010 19:44:52 GMT (envelope-from weongyo@svn.freebsd.org) Received: (from weongyo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o1NJiqOg061634; Tue, 23 Feb 2010 19:44:52 GMT (envelope-from weongyo@svn.freebsd.org) Message-Id: <201002231944.o1NJiqOg061634@svn.freebsd.org> From: Weongyo Jeong Date: Tue, 23 Feb 2010 19:44:52 +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: r204256 - head/sys/dev/bwn 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: Tue, 23 Feb 2010 19:44:52 -0000 Author: weongyo Date: Tue Feb 23 19:44:51 2010 New Revision: 204256 URL: http://svn.freebsd.org/changeset/base/204256 Log: fixes a compile error; invalid type argument of '->'. Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c ============================================================================== --- head/sys/dev/bwn/if_bwn.c Tue Feb 23 19:37:00 2010 (r204255) +++ head/sys/dev/bwn/if_bwn.c Tue Feb 23 19:44:51 2010 (r204256) @@ -5969,7 +5969,7 @@ bwn_lo_write(struct bwn_mac *mac, struct { uint16_t value; - KASSERT(mac->mac_phy->type == BWN_PHYTYPE_G, + KASSERT(mac->mac_phy.type == BWN_PHYTYPE_G, ("%s:%d: fail", __func__, __LINE__)); value = (uint8_t) (ctl->q);