Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2009 14:56:05 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r195287 - projects/mesh11s/sys/net80211
Message-ID:  <200907021456.n62Eu5CP047392@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Thu Jul  2 14:56:05 2009
New Revision: 195287
URL: http://svn.freebsd.org/changeset/base/195287

Log:
  Constify
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/mesh11s/sys/net80211/ieee80211_hwmp.c
  projects/mesh11s/sys/net80211/ieee80211_hwmp.h

Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_hwmp.c	Thu Jul  2 14:54:48 2009	(r195286)
+++ projects/mesh11s/sys/net80211/ieee80211_hwmp.c	Thu Jul  2 14:56:05 2009	(r195287)
@@ -1263,7 +1263,7 @@ done:
  */
 struct ieee80211_node *
 ieee80211_hwmp_find_txnode(struct ieee80211vap *vap,
-    uint8_t dest[IEEE80211_ADDR_LEN])
+    const uint8_t dest[IEEE80211_ADDR_LEN])
 {
 	struct ieee80211_hwmp_route *rt;
 
@@ -1275,7 +1275,7 @@ ieee80211_hwmp_find_txnode(struct ieee80
 
 int
 ieee80211_hwmp_checkpseq(struct ieee80211vap *vap,
-    uint8_t source[IEEE80211_ADDR_LEN], uint32_t seq)
+    const uint8_t source[IEEE80211_ADDR_LEN], uint32_t seq)
 {
 	struct ieee80211_hwmp_route *rt;
 

Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.h
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_hwmp.h	Thu Jul  2 14:54:48 2009	(r195286)
+++ projects/mesh11s/sys/net80211/ieee80211_hwmp.h	Thu Jul  2 14:56:05 2009	(r195287)
@@ -80,9 +80,9 @@ struct ieee80211_node *
     const uint8_t [IEEE80211_ADDR_LEN], struct mbuf *);
 struct ieee80211_node *
 		ieee80211_hwmp_find_txnode(struct ieee80211vap *vap,
-    uint8_t dest[IEEE80211_ADDR_LEN]);
+    const uint8_t dest[IEEE80211_ADDR_LEN]);
 int		ieee80211_hwmp_checkpseq(struct ieee80211vap *,
-    uint8_t [IEEE80211_ADDR_LEN], uint32_t);
+    const uint8_t [IEEE80211_ADDR_LEN], uint32_t);
 void		ieee80211_hwmp_peerdown(struct ieee80211_node *);
 #endif /* _KERNEL */
 



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