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

Collapse All | Expand All

(-)sys/dev/wpi/if_wpi.c (-3 / +3 lines)
Lines 1936-1943 Link Here
1936
	struct ieee80211_node *ni;
1936
	struct ieee80211_node *ni;
1937
	struct ieee80211vap *vap;
1937
	struct ieee80211vap *vap;
1938
	struct ieee80211com *ic;
1938
	struct ieee80211com *ic;
1939
	uint32_t status = le32toh(stat->status);
1939
	int ackfailcnt = stat->ackfailcnt / 2;	/* wpi_mrr_setup() */
1940
	int ackfailcnt = stat->ackfailcnt / 2;	/* wpi_mrr_setup() */
1940
	int status = le32toh(stat->status);
1941
1941
1942
	KASSERT(data->ni != NULL, ("no node"));
1942
	KASSERT(data->ni != NULL, ("no node"));
1943
	KASSERT(data->m != NULL, ("no mbuf"));
1943
	KASSERT(data->m != NULL, ("no mbuf"));
Lines 2038-2044 Link Here
2038
	struct ifnet *ifp = sc->sc_ifp;
2038
	struct ifnet *ifp = sc->sc_ifp;
2039
	struct ieee80211com *ic = ifp->if_l2com;
2039
	struct ieee80211com *ic = ifp->if_l2com;
2040
	struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
2040
	struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
2041
	int hw;
2041
	uint32_t hw;
2042
2042
2043
	bus_dmamap_sync(sc->shared_dma.tag, sc->shared_dma.map,
2043
	bus_dmamap_sync(sc->shared_dma.tag, sc->shared_dma.map,
2044
	    BUS_DMASYNC_POSTREAD);
2044
	    BUS_DMASYNC_POSTREAD);
Lines 2092-2098 Link Here
2092
		{
2092
		{
2093
			struct wpi_beacon_missed *miss =
2093
			struct wpi_beacon_missed *miss =
2094
			    (struct wpi_beacon_missed *)(desc + 1);
2094
			    (struct wpi_beacon_missed *)(desc + 1);
2095
			int misses;
2095
			uint32_t misses;
2096
2096
2097
			bus_dmamap_sync(sc->rxq.data_dmat, data->map,
2097
			bus_dmamap_sync(sc->rxq.data_dmat, data->map,
2098
			    BUS_DMASYNC_POSTREAD);
2098
			    BUS_DMASYNC_POSTREAD);

Return to bug 197143