diff options
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 13 | ||||
-rw-r--r-- | sys/net80211/ieee80211_ioctl.h | 3 |
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 8721ba587cd..9580bc342e8 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_input.c,v 1.117 2011/02/21 20:00:12 stsp Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.118 2011/03/04 23:48:15 fgsch Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -1379,10 +1379,6 @@ ieee80211_recv_probe_resp(struct ieee80211com *ic, struct mbuf *m, } chan = frm[2]; break; - case IEEE80211_ELEMID_TIM: - break; - case IEEE80211_ELEMID_IBSSPARMS: - break; case IEEE80211_ELEMID_XRATES: xrates = frm; break; @@ -1399,8 +1395,6 @@ ieee80211_recv_probe_resp(struct ieee80211com *ic, struct mbuf *m, case IEEE80211_ELEMID_EDCAPARMS: edcaie = frm; break; - case IEEE80211_ELEMID_QOS_CAP: - break; #ifndef IEEE80211_NO_HT case IEEE80211_ELEMID_HTCAPS: htcaps = frm; @@ -1422,11 +1416,6 @@ ieee80211_recv_probe_resp(struct ieee80211com *ic, struct mbuf *m, wmmie = frm; } break; - default: - DPRINTF(("element id %u/len %u ignored\n", - frm[0], frm[1])); - ic->ic_stats.is_rx_elem_unknown++; - break; } frm += 2 + frm[1]; } diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h index 3ffebcb7575..9f54aa509d4 100644 --- a/sys/net80211/ieee80211_ioctl.h +++ b/sys/net80211/ieee80211_ioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_ioctl.h,v 1.17 2009/02/15 08:34:36 damien Exp $ */ +/* $OpenBSD: ieee80211_ioctl.h,v 1.18 2011/03/04 23:48:15 fgsch Exp $ */ /* $NetBSD: ieee80211_ioctl.h,v 1.7 2004/04/30 22:51:04 dyoung Exp $ */ /*- @@ -56,7 +56,6 @@ struct ieee80211_stats { u_int32_t is_rx_elem_missing; /* rx required element missing*/ u_int32_t is_rx_elem_toobig; /* rx element too big */ u_int32_t is_rx_elem_toosmall; /* rx element too small */ - u_int32_t is_rx_elem_unknown; /* rx element unknown */ u_int32_t is_rx_badchan; /* rx frame w/ invalid chan */ u_int32_t is_rx_chanmismatch; /* rx frame chan mismatch */ u_int32_t is_rx_nodealloc; /* rx frame dropped */ |