diff options
Diffstat (limited to 'sys/dev/ath/ath_rate/amrr/amrr.c')
-rw-r--r-- | sys/dev/ath/ath_rate/amrr/amrr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_rate/amrr/amrr.c b/sys/dev/ath/ath_rate/amrr/amrr.c index 705bd2a..5955e48 100644 --- a/sys/dev/ath/ath_rate/amrr/amrr.c +++ b/sys/dev/ath/ath_rate/amrr/amrr.c @@ -376,7 +376,7 @@ ath_rate_newstate(struct ath_softc *sc, enum ieee80211_state state) if (ic->ic_opmode == IEEE80211_M_STA) interval /= 2; callout_reset(&asc->timer, (interval * hz) / 1000, - ath_ratectl, &sc->sc_if); + ath_ratectl, sc->sc_ifp); } } @@ -475,7 +475,7 @@ ath_ratectl(void *arg) if (ic->ic_opmode == IEEE80211_M_STA) interval /= 2; callout_reset(&asc->timer, (interval * hz) / 1000, - ath_ratectl, &sc->sc_if); + ath_ratectl, sc->sc_ifp); } static void |