svn commit: r195564 - projects/mesh11s/sys/net80211

Sam Leffler sam at FreeBSD.org
Fri Jul 10 16:18:41 UTC 2009


Author: sam
Date: Fri Jul 10 16:18:40 2009
New Revision: 195564
URL: http://svn.freebsd.org/changeset/base/195564

Log:
  style; line up comments, add some paren's, blank lines

Modified:
  projects/mesh11s/sys/net80211/ieee80211_mesh.h

Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.h
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_mesh.h	Fri Jul 10 16:01:21 2009	(r195563)
+++ projects/mesh11s/sys/net80211/ieee80211_mesh.h	Fri Jul 10 16:18:40 2009	(r195564)
@@ -389,10 +389,10 @@ struct ieee80211_mesh_route {
 	uint32_t		rt_metric;	/* path metric */
 	uint16_t		rt_nhops;	/* number of hops */
 	uint32_t		rt_lifetime;
-	uint32_t		rt_lastmseq;/* last seq# seen from this dest */
-	void			*rt_priv; /* pointer to private data */
+	uint32_t		rt_lastmseq;	/* last seq# seen dest */
+	void			*rt_priv;	/* private data */
 };
-#define	IEEE80211_MESH_ROUTE_PRIV(rt, cast)	(cast *)rt->rt_priv
+#define	IEEE80211_MESH_ROUTE_PRIV(rt, cast)	((cast *)rt->rt_priv)
 
 #define	IEEE80211_MESH_PROTO_DSZ	12	/* description size */
 /*
@@ -414,6 +414,7 @@ struct ieee80211_mesh_proto_path {
 	size_t		mpp_privlen;	/* size required in the routing table
 					   for private data */
 };
+
 /*
  * Mesh Link Metric Report Protocol.
  */
@@ -490,6 +491,7 @@ struct ieee80211_scanparams;
 void		ieee80211_mesh_init_neighbor(struct ieee80211_node *,
 		   const struct ieee80211_frame *,
 		   const struct ieee80211_scanparams *);
+
 static __inline struct ieee80211_node *
 ieee80211_mesh_discover(struct ieee80211vap *vap,                                                     
     const uint8_t dest[IEEE80211_ADDR_LEN], struct mbuf *m)


More information about the svn-src-projects mailing list