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

Rui Paulo rpaulo at FreeBSD.org
Sun May 24 11:52:09 UTC 2009


Author: rpaulo
Date: Sun May 24 11:52:08 2009
New Revision: 192680
URL: http://svn.freebsd.org/changeset/base/192680

Log:
  Add a discard note and fix spacing.
  
  Sponsored by:	The FreeBSD Foundation

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

Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_hwmp.c	Sun May 24 11:37:10 2009	(r192679)
+++ projects/mesh11s/sys/net80211/ieee80211_hwmp.c	Sun May 24 11:52:08 2009	(r192680)
@@ -183,6 +183,10 @@ ieee80211_hwmp_recv_action(struct ieee80
 		break;
 	case IEEE80211_ACTION_MESHPATH_ERR:
 		break;
+	default:
+		IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_MESH,
+		    ni->ni_macaddr, NULL,
+		    "unknown path action 0x%x", ia->ia_action);
 	}
 
 }
@@ -206,7 +210,7 @@ ieee80211_add_meshprep(uint8_t *frm, str
 	*frm++ = sizeof(struct ieee80211_meshprep_ie) - 2;
 	*frm++ = prep->prep_flags;
 	*frm++ = prep->prep_hopcount;
-				*frm++ = prep->prep_ttl;
+	*frm++ = prep->prep_ttl;
 	IEEE80211_ADDR_COPY(frm, prep->prep_targetaddr);
 	frm += 6;
 	ADDWORD(frm, prep->prep_targetseq);


More information about the svn-src-projects mailing list