Fix a wrong initialization that snuck in the latest commit.

MFC after:	3 days
This commit is contained in:
Rui Paulo 2009-10-12 10:30:15 +00:00
parent 7df8f6ab6f
commit f78595fa10
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197977

View File

@ -2421,7 +2421,7 @@ ieee80211_add_meshpeer(uint8_t *frm, uint8_t subtype, uint16_t localid,
*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 */