Date: Mon, 29 Feb 2016 00:05:37 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296174 - head/sys/dev/usb/wlan Message-ID: <201602290005.u1T05bZr022571@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Mon Feb 29 00:05:37 2016 New Revision: 296174 URL: https://svnweb.freebsd.org/changeset/base/296174 Log: 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 Modified: head/sys/dev/usb/wlan/if_urtwn.c Modified: head/sys/dev/usb/wlan/if_urtwn.c ============================================================================== --- head/sys/dev/usb/wlan/if_urtwn.c Sun Feb 28 23:57:26 2016 (r296173) +++ head/sys/dev/usb/wlan/if_urtwn.c Mon Feb 29 00:05:37 2016 (r296174) @@ -4170,8 +4170,7 @@ urtwn_rxfilter_init(struct urtwn_softc * 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602290005.u1T05bZr022571>