diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-06-10 20:40:38 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-06-10 20:40:38 +0000 |
commit | 8d7910925e50805ebb58ef3731a82a7a32796be7 (patch) | |
tree | 1f969781dec5a8ba9f7880f4a698b878d2a29260 /sys/net80211/ieee80211_hwmp.c | |
parent | ca4d850f228486408d3f8c84dd4096cdc6471b63 (diff) | |
download | FreeBSD-src-8d7910925e50805ebb58ef3731a82a7a32796be7.zip FreeBSD-src-8d7910925e50805ebb58ef3731a82a7a32796be7.tar.gz |
Add missing braces.
Submitted by: sam
MFC after: 3 days
Diffstat (limited to 'sys/net80211/ieee80211_hwmp.c')
-rw-r--r-- | sys/net80211/ieee80211_hwmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_hwmp.c b/sys/net80211/ieee80211_hwmp.c index 1fffc9f..78729fc 100644 --- a/sys/net80211/ieee80211_hwmp.c +++ b/sys/net80211/ieee80211_hwmp.c @@ -707,9 +707,10 @@ hwmp_recv_preq(struct ieee80211vap *vap, struct ieee80211_node *ni, 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. |