Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 23:06:20 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282384 - head/sys/dev/wpi
Message-ID:  <201505032306.t43N6K1Z079632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun May  3 23:06:19 2015
New Revision: 282384
URL: https://svnweb.freebsd.org/changeset/base/282384

Log:
  Do not disable beacon notifications (unbreaks scanning on passive channels).
  
  PR:		kern/197143
  Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>

Modified:
  head/sys/dev/wpi/if_wpi.c

Modified: head/sys/dev/wpi/if_wpi.c
==============================================================================
--- head/sys/dev/wpi/if_wpi.c	Sun May  3 23:03:06 2015	(r282383)
+++ head/sys/dev/wpi/if_wpi.c	Sun May  3 23:06:19 2015	(r282384)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505032306.t43N6K1Z079632>