svn commit: r197977 - head/sys/net80211
Rui Paulo
rpaulo at FreeBSD.org
Mon Oct 12 10:30:15 UTC 2009
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 */
More information about the svn-src-head
mailing list