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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to