remove references to ic_stats
Spotted by: Lucius Windschuh <lwindschuh@googlemail.com>
This commit is contained in:
parent
0d657eecf3
commit
015ebba0c0
@ -1442,7 +1442,6 @@ iwn_rx_intr(struct iwn_softc *sc, struct iwn_rx_desc *desc,
|
||||
if (len < sizeof (struct ieee80211_frame)) {
|
||||
DPRINTF(sc, IWN_DEBUG_RECV, "%s: frame too short: %d\n",
|
||||
__func__, len);
|
||||
ic->ic_stats.is_rx_tooshort++;
|
||||
ifp->if_ierrors++;
|
||||
return;
|
||||
}
|
||||
@ -1452,7 +1451,6 @@ iwn_rx_intr(struct iwn_softc *sc, struct iwn_rx_desc *desc,
|
||||
if (mnew == NULL) {
|
||||
DPRINTF(sc, IWN_DEBUG_ANY, "%s: no mbuf to restock ring\n",
|
||||
__func__);
|
||||
ic->ic_stats.is_rx_nobuf++;
|
||||
ifp->if_ierrors++;
|
||||
return;
|
||||
}
|
||||
@ -1463,7 +1461,6 @@ iwn_rx_intr(struct iwn_softc *sc, struct iwn_rx_desc *desc,
|
||||
device_printf(sc->sc_dev,
|
||||
"%s: bus_dmamap_load failed, error %d\n", __func__, error);
|
||||
m_freem(mnew);
|
||||
ic->ic_stats.is_rx_nobuf++; /* XXX need stat */
|
||||
ifp->if_ierrors++;
|
||||
return;
|
||||
}
|
||||
|
@ -1478,7 +1478,6 @@ wpi_rx_intr(struct wpi_softc *sc, struct wpi_rx_desc *desc,
|
||||
if (mnew == NULL) {
|
||||
DPRINTFN(WPI_DEBUG_RX, ("%s: no mbuf to restock ring\n",
|
||||
__func__));
|
||||
ic->ic_stats.is_rx_nobuf++;
|
||||
ifp->if_ierrors++;
|
||||
return;
|
||||
}
|
||||
@ -1489,7 +1488,6 @@ wpi_rx_intr(struct wpi_softc *sc, struct wpi_rx_desc *desc,
|
||||
device_printf(sc->sc_dev,
|
||||
"%s: bus_dmamap_load failed, error %d\n", __func__, error);
|
||||
m_freem(mnew);
|
||||
ic->ic_stats.is_rx_nobuf++; /* XXX need stat */
|
||||
ifp->if_ierrors++;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user