From owner-svn-src-projects@FreeBSD.ORG Fri Jul 3 15:33:16 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31898106564A; Fri, 3 Jul 2009 15:33:16 +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 202DC8FC19; Fri, 3 Jul 2009 15:33:16 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n63FXGuE081696; Fri, 3 Jul 2009 15:33:16 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n63FXGIx081694; Fri, 3 Jul 2009 15:33:16 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200907031533.n63FXGIx081694@svn.freebsd.org> From: Rui Paulo Date: Fri, 3 Jul 2009 15:33:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195314 - projects/mesh11s/sys/net80211 X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 15:33:16 -0000 Author: rpaulo Date: Fri Jul 3 15:33:15 2009 New Revision: 195314 URL: http://svn.freebsd.org/changeset/base/195314 Log: Clear the meaning of '+ 2'. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/net80211/ieee80211_action.c Modified: projects/mesh11s/sys/net80211/ieee80211_action.c ============================================================================== --- projects/mesh11s/sys/net80211/ieee80211_action.c Fri Jul 3 15:21:57 2009 (r195313) +++ projects/mesh11s/sys/net80211/ieee80211_action.c Fri Jul 3 15:33:15 2009 (r195314) @@ -272,6 +272,6 @@ ieee80211_recv_action(struct ieee80211_n f = vendor_recv_action[ia->ia_action]; break; } - return f(ni, frm + 2, efrm); + return f(ni, frm + sizeof(struct ieee80211_action), efrm); #undef N }