PERFORCE change 39847 for review

Sam Leffler sam at FreeBSD.org
Fri Oct 17 11:08:55 PDT 2003


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

Change 39847 by sam at sam_ebb on 2003/10/17 11:08:14

	o add debug message for frames too short
	o move comon debug message to level 2

Affected files ...

.. //depot/projects/netperf/sys/net80211/ieee80211_input.c#10 edit

Differences ...

==== //depot/projects/netperf/sys/net80211/ieee80211_input.c#10 (text+ko) ====

@@ -129,6 +129,8 @@
 	 */
 	if (m->m_pkthdr.len < sizeof(struct ieee80211_frame)) {
 		/* XXX statistic */
+		IEEE80211_DPRINTF2(("%s: frame too short, len %u",
+			__func__, m->m_pkthdr.len));
 		ic->ic_stats.is_rx_tooshort++;
 		goto out;		/* XXX */
 	}
@@ -710,7 +712,7 @@
 				erp = frm[2];
 				break;
 			default:
-				IEEE80211_DPRINTF(("%s: element id %u/len %u "
+				IEEE80211_DPRINTF2(("%s: element id %u/len %u "
 					"ignored\n", __func__, *frm, frm[1]));
 				ic->ic_stats.is_rx_elem_unknown++;
 				break;


More information about the p4-projects mailing list