View | Details | Raw Unified | Return to bug 197143 | Differences between
and this patch

Collapse All | Expand All

(-)sys/dev/wpi/if_wpi.c (-10 lines)
Lines 3716-3722 Link Here
3716
	struct ieee80211com *ic = ifp->if_l2com;
3716
	struct ieee80211com *ic = ifp->if_l2com;
3717
	struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
3717
	struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
3718
	struct ieee80211_channel *c = ic->ic_curchan;
3718
	struct ieee80211_channel *c = ic->ic_curchan;
3719
	uint32_t flags;
3720
	int error;
3719
	int error;
3721
3720
3722
	DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_BEGIN, __func__);
3721
	DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_BEGIN, __func__);
Lines 3789-3803 Link Here
3789
		return error;
3788
		return error;
3790
	}
3789
	}
3791
3790
3792
	/* Disable beacon notifications (unused). */
3793
	flags = WPI_STATISTICS_BEACON_DISABLE;
3794
	error = wpi_cmd(sc, WPI_CMD_GET_STATISTICS, &flags, sizeof flags, 1);
3795
	if (error != 0) {
3796
		device_printf(sc->sc_dev,
3797
		    "could not disable beacon statistics, error %d\n", error);
3798
		return error;
3799
	}
3800
3801
	DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_END, __func__);
3791
	DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_END, __func__);
3802
3792
3803
	return 0;
3793
	return 0;

Return to bug 197143