remove add_timer() call after mod_timer(). it causes a kernel bug and is not

necessary since mod_timer does all the work already. this fixes station mode.


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3653 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
br1 2008-05-20 17:16:24 +00:00
parent 547147362c
commit fe5351a3e3

View File

@ -2709,7 +2709,6 @@ static void ath_set_beacon_cal(struct ath_softc *sc, int val)
del_timer_sync(&sc->sc_cal_ch);
} else {
mod_timer(&sc->sc_cal_ch, jiffies + (sc->sc_calinterval_sec * HZ));
add_timer(&sc->sc_cal_ch);
}
sc->sc_beacon_cal = (val && beacon_cal);
}