diff options
author | sam <sam@FreeBSD.org> | 2005-07-11 03:00:20 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-07-11 03:00:20 +0000 |
commit | e1d30f6c5644dd6c792aac5af1c492fedb704175 (patch) | |
tree | 97ff461851db53998ce2b1c51bc500ee8ccc8376 /sys/net80211 | |
parent | 131d31afc15007fb8f8493cc8b59170069665936 (diff) | |
download | FreeBSD-src-e1d30f6c5644dd6c792aac5af1c492fedb704175.zip FreeBSD-src-e1d30f6c5644dd6c792aac5af1c492fedb704175.tar.gz |
nuke assert that duplicates real check
Reviewed by: avatar
Approved by: re (scottl)
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 16ba881..8bd202d 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -149,9 +149,6 @@ ieee80211_input(struct ieee80211com *ic, struct mbuf *m, m_adj(m, -IEEE80211_CRC_LEN); m->m_flags &= ~M_HASFCS; } - KASSERT(m->m_pkthdr.len >= sizeof(struct ieee80211_frame_min), - ("frame length too short: %u", m->m_pkthdr.len)); - type = -1; /* undefined */ /* * In monitor mode, send everything directly to bpf. |