Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2009 10:30:15 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197977 - head/sys/net80211
Message-ID:  <200910121030.n9CAUFUK053419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Mon Oct 12 10:30:15 2009
New Revision: 197977
URL: http://svn.freebsd.org/changeset/base/197977

Log:
  Fix a wrong initialization that snuck in the latest commit.
  
  MFC after:	3 days

Modified:
  head/sys/net80211/ieee80211_mesh.c

Modified: head/sys/net80211/ieee80211_mesh.c
==============================================================================
--- head/sys/net80211/ieee80211_mesh.c	Mon Oct 12 10:09:48 2009	(r197976)
+++ head/sys/net80211/ieee80211_mesh.c	Mon Oct 12 10:30:15 2009	(r197977)
@@ -2421,7 +2421,7 @@ ieee80211_add_meshpeer(uint8_t *frm, uin
 	*frm++ = IEEE80211_ELEMID_MESHPEER;
 	switch (subtype) {
 	case IEEE80211_MESH_PEER_LINK_OPEN:
-		frm++ = 6;		/* length */
+		*frm++ = 6;		/* length */
 		memcpy(frm, meshpeerproto, 4);
 		frm += 4;
 		ADDSHORT(frm, localid);	/* local ID */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910121030.n9CAUFUK053419>