Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 20:40:38 +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: r209013 - head/sys/net80211
Message-ID:  <201006102040.o5AKec9w059652@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Thu Jun 10 20:40:38 2010
New Revision: 209013
URL: http://svn.freebsd.org/changeset/base/209013

Log:
  Add missing braces.
  
  Submitted by:	sam
  MFC after:	3 days

Modified:
  head/sys/net80211/ieee80211_hwmp.c

Modified: head/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- head/sys/net80211/ieee80211_hwmp.c	Thu Jun 10 20:36:30 2010	(r209012)
+++ head/sys/net80211/ieee80211_hwmp.c	Thu Jun 10 20:40:38 2010	(r209013)
@@ -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.



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