summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_rate/onoe/onoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ath_rate/onoe/onoe.c')
-rw-r--r--sys/dev/ath/ath_rate/onoe/onoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_rate/onoe/onoe.c b/sys/dev/ath/ath_rate/onoe/onoe.c
index 478c014..a4f0094 100644
--- a/sys/dev/ath/ath_rate/onoe/onoe.c
+++ b/sys/dev/ath/ath_rate/onoe/onoe.c
@@ -360,7 +360,7 @@ ath_rate_newstate(struct ath_softc *sc, enum ieee80211_state state)
if (ic->ic_opmode == IEEE80211_M_STA)
interval /= 2;
callout_reset(&osc->timer, (interval * hz) / 1000,
- ath_ratectl, &sc->sc_if);
+ ath_ratectl, sc->sc_ifp);
}
}
@@ -456,7 +456,7 @@ ath_ratectl(void *arg)
if (ic->ic_opmode == IEEE80211_M_STA)
interval /= 2;
callout_reset(&osc->timer, (interval * hz) / 1000,
- ath_ratectl, &sc->sc_if);
+ ath_ratectl, sc->sc_ifp);
}
static void
OpenPOWER on IntegriCloud