svn commit: r209572 - stable/8/sys/net80211

Rui Paulo rpaulo at FreeBSD.org
Mon Jun 28 12:20:37 UTC 2010


Author: rpaulo
Date: Mon Jun 28 12:20:36 2010
New Revision: 209572
URL: http://svn.freebsd.org/changeset/base/209572

Log:
  MFC r209013:
  	Add missing braces.

Modified:
  stable/8/sys/net80211/ieee80211_hwmp.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- stable/8/sys/net80211/ieee80211_hwmp.c	Mon Jun 28 12:04:55 2010	(r209571)
+++ stable/8/sys/net80211/ieee80211_hwmp.c	Mon Jun 28 12:20:36 2010	(r209572)
@@ -707,9 +707,10 @@ hwmp_recv_preq(struct ieee80211vap *vap,
 	rtorig = ieee80211_mesh_rt_find(vap, preq->preq_origaddr);
 	if (rtorig == NULL)
 		rtorig = ieee80211_mesh_rt_add(vap, preq->preq_origaddr);
-	if (rtorig == NULL)
+	if (rtorig == NULL) {
 		/* XXX stat */
 		return;
+	}
 	hrorig = IEEE80211_MESH_ROUTE_PRIV(rtorig, struct ieee80211_hwmp_route);
 	/*
 	 * Sequence number validation.


More information about the svn-src-all mailing list