From fe5351a3e3ebced3e69ac1a880a6431fd6919485 Mon Sep 17 00:00:00 2001 From: br1 Date: Tue, 20 May 2008 17:16:24 +0000 Subject: [PATCH] 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 --- ath/if_ath.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ath/if_ath.c b/ath/if_ath.c index 2b25b42..c9ed71c 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -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); }