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

Rui Paulo rpaulo at FreeBSD.org
Fri Jul 10 11:17:42 UTC 2009


Author: rpaulo
Date: Fri Jul 10 11:17:41 2009
New Revision: 195546
URL: http://svn.freebsd.org/changeset/base/195546

Log:
  replace NWID_LEN with MESHID_LEN.
  
  Sponsored by:	The FreeBSD Foundation

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

Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_mesh.c	Fri Jul 10 11:16:01 2009	(r195545)
+++ projects/mesh11s/sys/net80211/ieee80211_mesh.c	Fri Jul 10 11:17:41 2009	(r195546)
@@ -2483,7 +2483,7 @@ mesh_ioctl_set80211(struct ieee80211vap 
 	error = 0;
 	switch (ireq->i_type) {
 	case IEEE80211_IOC_MESH_ID:
-		if (ireq->i_val != 0 || ireq->i_len > IEEE80211_NWID_LEN)
+		if (ireq->i_val != 0 || ireq->i_len > IEEE80211_MESHID_LEN)
 			return EINVAL;
 		error = copyin(ireq->i_data, tmpmeshid, ireq->i_len);
 		if (error)


More information about the svn-src-projects mailing list