Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105770669
D5483.id13845.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D5483.id13845.diff
View Options
Index: sys/net80211/ieee80211_hostap.c
===================================================================
--- sys/net80211/ieee80211_hostap.c
+++ sys/net80211/ieee80211_hostap.c
@@ -1679,18 +1679,19 @@
efrm = mtod(m0, uint8_t *) + m0->m_len;
switch (subtype) {
case IEEE80211_FC0_SUBTYPE_PROBE_RESP:
- case IEEE80211_FC0_SUBTYPE_BEACON: {
- struct ieee80211_scanparams scan;
/*
* We process beacon/probe response frames when scanning;
* otherwise we check beacon frames for overlapping non-ERP
* BSS in 11g and/or overlapping legacy BSS when in HT.
- */
- if ((ic->ic_flags & IEEE80211_F_SCAN) == 0 &&
- subtype == IEEE80211_FC0_SUBTYPE_PROBE_RESP) {
+ */
+ if ((ic->ic_flags & IEEE80211_F_SCAN) == 0) {
vap->iv_stats.is_rx_mgtdiscard++;
return;
}
+ /* FALLTHROUGH */
+ case IEEE80211_FC0_SUBTYPE_BEACON: {
+ struct ieee80211_scanparams scan;
+
/* NB: accept off-channel frames */
/* XXX TODO: use rxstatus to determine off-channel details */
if (ieee80211_parse_beacon(ni, m0, ic->ic_curchan, &scan) &~ IEEE80211_BPARSE_OFFCHAN)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 11:19 AM (17 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15540793
Default Alt Text
D5483.id13845.diff (1 KB)
Attached To
Mode
D5483: net80211: remove duplicate check from hostap_recv_mgmt()
Attached
Detach File
Event Timeline
Log In to Comment