Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2009 10:43:17 +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: r198027 - head/sys/net80211
Message-ID:  <200910131043.n9DAhH2a003651@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Tue Oct 13 10:43:17 2009
New Revision: 198027
URL: http://svn.freebsd.org/changeset/base/198027

Log:
  Properly initialize the mesh conf capabilities byte.
  
  MFC after:	2 days

Modified:
  head/sys/net80211/ieee80211_mesh.c

Modified: head/sys/net80211/ieee80211_mesh.c
==============================================================================
--- head/sys/net80211/ieee80211_mesh.c	Tue Oct 13 10:14:38 2009	(r198026)
+++ head/sys/net80211/ieee80211_mesh.c	Tue Oct 13 10:43:17 2009	(r198027)
@@ -2398,6 +2398,7 @@ ieee80211_add_meshconf(uint8_t *frm, str
 	if (ms->ms_flags & IEEE80211_MESHFLAGS_PORTAL)
 		*frm |= IEEE80211_MESHCONF_FORM_MP;
 	frm += 1;
+	*frm = 0;
 	if (ms->ms_flags & IEEE80211_MESHFLAGS_AP)
 		*frm |= IEEE80211_MESHCONF_CAP_AP;
 	if (ms->ms_flags & IEEE80211_MESHFLAGS_FWD)



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