1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Do not disable beacon notifications (unbreaks scanning on passive channels).

PR:		kern/197143
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
Adrian Chadd 2015-05-03 23:06:19 +00:00
parent efccc3c60c
commit b3195a3fdf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282384

View File

@ -3716,7 +3716,6 @@ wpi_config(struct wpi_softc *sc)
struct ieee80211com *ic = ifp->if_l2com;
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
struct ieee80211_channel *c = ic->ic_curchan;
uint32_t flags;
int error;
DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_BEGIN, __func__);
@ -3789,15 +3788,6 @@ wpi_config(struct wpi_softc *sc)
return error;
}
/* Disable beacon notifications (unused). */
flags = WPI_STATISTICS_BEACON_DISABLE;
error = wpi_cmd(sc, WPI_CMD_GET_STATISTICS, &flags, sizeof flags, 1);
if (error != 0) {
device_printf(sc->sc_dev,
"could not disable beacon statistics, error %d\n", error);
return error;
}
DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_END, __func__);
return 0;