summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_input.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2011-03-04 23:48:16 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2011-03-04 23:48:16 +0000
commitb39c826407790f794405d8a0a5060aa1b4ac7349 (patch)
tree38fe13e9c9571b5a53df245d8e0962dbf10c895a /sys/net80211/ieee80211_input.c
parent03936683f39530295504caacc7eb40399ca149e1 (diff)
kill is_rx_elem_unknown.
damien@ ok. ports checked by sthen@.
Diffstat (limited to 'sys/net80211/ieee80211_input.c')
-rw-r--r--sys/net80211/ieee80211_input.c13
1 files changed, 1 insertions, 12 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];
}