PERFORCE change 114520 for review

Sam Leffler sam at FreeBSD.org
Wed Feb 14 23:11:41 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=114520

Change 114520 by sam at sam_ebb on 2007/02/14 23:10:56

	improve diagnostic when discarding a too-short ie

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_input.c#88 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_input.c#88 (text+ko) ====

@@ -1351,7 +1351,8 @@
 		IEEE80211_DISCARD(ic, IEEE80211_MSG_ELEMID,		\
 		    wh, ieee80211_mgt_subtype_name[subtype >>		\
 			IEEE80211_FC0_SUBTYPE_SHIFT],			\
-		    "%s", "ie too short");				\
+		    "ie too short, got %d, expected %d",		\
+		    (_len), (_minlen));					\
 		ic->ic_stats.is_rx_elem_toosmall++;			\
 		return;							\
 	}								\


More information about the p4-projects mailing list