summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2016-02-29 00:05:37 +0000
committeravos <avos@FreeBSD.org>2016-02-29 00:05:37 +0000
commit33a884e8ff49457b9ec30565dbef2fbb9111afa9 (patch)
tree8cf1a96351c13f95d7392c5469335db5a9c6e5e4
parent552f7014c4dcdab8a3c0894e86fb4f9238117c5e (diff)
downloadFreeBSD-src-33a884e8ff49457b9ec30565dbef2fbb9111afa9.zip
FreeBSD-src-33a884e8ff49457b9ec30565dbef2fbb9111afa9.tar.gz
urtwn: do not filter beacon frames in HOSTAP mode while scanning
urtwn_set_rx_bssid_all() will allow to receive beacons only when they are not denied by filter. Revealed by D5474. Tested with RTL8188CUS, HOSTAP mode. Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5477
-rw-r--r--sys/dev/usb/wlan/if_urtwn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/wlan/if_urtwn.c b/sys/dev/usb/wlan/if_urtwn.c
index d95be56..8b56847 100644
--- a/sys/dev/usb/wlan/if_urtwn.c
+++ b/sys/dev/usb/wlan/if_urtwn.c
@@ -4170,8 +4170,7 @@ urtwn_rxfilter_init(struct urtwn_softc *sc)
case IEEE80211_M_HOSTAP:
filter &= ~(
R92C_RXFLTMAP_SUBTYPE(IEEE80211_FC0_SUBTYPE_ASSOC_RESP) |
- R92C_RXFLTMAP_SUBTYPE(IEEE80211_FC0_SUBTYPE_REASSOC_RESP) |
- R92C_RXFLTMAP_SUBTYPE(IEEE80211_FC0_SUBTYPE_BEACON));
+ R92C_RXFLTMAP_SUBTYPE(IEEE80211_FC0_SUBTYPE_REASSOC_RESP));
break;
case IEEE80211_M_MONITOR:
case IEEE80211_M_IBSS:
OpenPOWER on IntegriCloud