mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
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:
parent
547147362c
commit
fe5351a3e3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user