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

Rui Paulo rpaulo at FreeBSD.org
Sun May 10 18:19:11 UTC 2009


Author: rpaulo
Date: Sun May 10 18:19:10 2009
New Revision: 191968
URL: http://svn.freebsd.org/changeset/base/191968

Log:
  Fix direction matching on input path.
  
  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	Sun May 10 18:17:26 2009	(r191967)
+++ projects/mesh11s/sys/net80211/ieee80211_mesh.c	Sun May 10 18:19:10 2009	(r191968)
@@ -267,7 +267,7 @@ mesh_input(struct ieee80211_node *ni, st
 	case IEEE80211_FC0_TYPE_MGT:
 		vap->iv_stats.is_rx_mgmt++;
 		IEEE80211_NODE_STAT(ni, rx_mgmt);
-		if (dir != IEEE80211_FC1_DIR_NODS) {
+		if (dir != IEEE80211_FC1_DIR_DSTODS) {
 			IEEE80211_DISCARD(vap, IEEE80211_MSG_INPUT,
 			    wh, "data", "incorrect dir 0x%x", dir);
 			vap->iv_stats.is_rx_wrongdir++;


More information about the svn-src-projects mailing list