X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=ath_rate%2Famrr%2Famrr.c;h=e9a7264d5a2d7d5f6326dc8cd9ee4ee514e05dd1;hb=76cade5dac4bc5dc07d40a924c2837afc4471a2d;hp=a23aeca2af3058a143f84f25ac30908bb6e5ea7a;hpb=99ead2121df72cbc6f75465e8043265d9818df94;p=madwifi%2F.git diff --git a/ath_rate/amrr/amrr.c b/ath_rate/amrr/amrr.c index a23aeca..e9a7264 100644 --- a/ath_rate/amrr/amrr.c +++ b/ath_rate/amrr/amrr.c @@ -317,7 +317,7 @@ ath_rate_newstate(struct ieee80211vap *vap, enum ieee80211_state state) { struct ieee80211com *ic = vap->iv_ic; struct ath_softc *sc = ic->ic_dev->priv; - struct amrr_softc *asc = (struct amrr_softc *) sc->sc_rc; + struct amrr_softc *asc = (struct amrr_softc *)sc->sc_rc; struct ieee80211_node *ni; if (state == IEEE80211_S_INIT) { @@ -473,7 +473,7 @@ ath_rate_attach(struct ath_softc *sc) static void ath_rate_detach(struct ath_ratectrl *arc) { - struct amrr_softc *asc = (struct amrr_softc *) arc; + struct amrr_softc *asc = (struct amrr_softc *)arc; del_timer(&asc->timer); kfree(asc);