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

Rui Paulo rpaulo at FreeBSD.org
Tue Jun 9 11:39:24 UTC 2009


Author: rpaulo
Date: Tue Jun  9 11:39:23 2009
New Revision: 193825
URL: http://svn.freebsd.org/changeset/base/193825

Log:
  Move the extern from previous commit to a proper place.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/mesh11s/sys/net80211/ieee80211_output.c

Modified: projects/mesh11s/sys/net80211/ieee80211_output.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_output.c	Tue Jun  9 11:31:47 2009	(r193824)
+++ projects/mesh11s/sys/net80211/ieee80211_output.c	Tue Jun  9 11:39:23 2009	(r193825)
@@ -73,6 +73,8 @@ __FBSDID("$FreeBSD$");
 #define	ETHER_HEADER_COPY(dst, src) \
 	memcpy(dst, src, sizeof(struct ether_header))
 
+extern uint32_t ieee80211_mesh_ttl;
+
 static int ieee80211_fragment(struct ieee80211vap *, struct mbuf *,
 	u_int hdrsize, u_int ciphdrsize, u_int mtu);
 static	void ieee80211_tx_mgt_cb(struct ieee80211_node *, void *, int);
@@ -1250,7 +1252,6 @@ ieee80211_encap(struct ieee80211vap *vap
 	struct ieee80211_meshcntl_ae11 *mc;
 	uint32_t seq;
 	uint8_t *qos;
-	extern uint32_t ieee80211_mesh_ttl;
 
 	/*
 	 * Copy existing Ethernet header to a safe place.  The


More information about the svn-src-projects mailing list