svn commit: r211688 - user/imp/tbemd/sys/net80211

Warner Losh imp at FreeBSD.org
Mon Aug 23 06:00:21 UTC 2010


Author: imp
Date: Mon Aug 23 06:00:21 2010
New Revision: 211688
URL: http://svn.freebsd.org/changeset/base/211688

Log:
  style(9) is ambiguous on this.  I must have hacked and commited, but reduce diffs to head

Modified:
  user/imp/tbemd/sys/net80211/ieee80211_hwmp.c

Modified: user/imp/tbemd/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- user/imp/tbemd/sys/net80211/ieee80211_hwmp.c	Mon Aug 23 05:59:19 2010	(r211687)
+++ user/imp/tbemd/sys/net80211/ieee80211_hwmp.c	Mon Aug 23 06:00:21 2010	(r211688)
@@ -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-user mailing list