mod_timer(&sc->ani.timer, jiffies + msecs_to_jiffies(cal_interval));
 }
 
+static void ath_start_ani(struct ath_softc *sc)
+{
+       unsigned long timestamp = jiffies_to_msecs(jiffies);
+
+       sc->ani.longcal_timer = timestamp;
+       sc->ani.shortcal_timer = timestamp;
+       sc->ani.checkani_timer = timestamp;
+
+       mod_timer(&sc->ani.timer,
+                 jiffies + msecs_to_jiffies(ATH_ANI_POLLINTERVAL));
+}
+
 /*
  * Update tx/rx chainmask. For legacy association,
  * hard code chainmask to 1x1, for 11n association, use
                sc->nodestats.ns_avgtxrssi = ATH_RSSI_DUMMY_MARKER;
                sc->nodestats.ns_avgtxrate = ATH_RATE_DUMMY_MARKER;
 
-               /* Start ANI */
-               mod_timer(&sc->ani.timer,
-                         jiffies + msecs_to_jiffies(ATH_ANI_POLLINTERVAL));
+               ath_start_ani(sc);
        } else {
                DPRINTF(sc, ATH_DBG_CONFIG, "Bss Info DISASSOC\n");
                sc->curaid = 0;
 
        ath9k_hw_set_interrupts(sc->sc_ah, sc->imask);
 
-       if (conf->type == NL80211_IFTYPE_AP) {
-               /* TODO: is this a suitable place to start ANI for AP mode? */
-               /* Start ANI */
-               mod_timer(&sc->ani.timer,
-                         jiffies + msecs_to_jiffies(ATH_ANI_POLLINTERVAL));
-       }
+       if (conf->type == NL80211_IFTYPE_AP)
+               ath_start_ani(sc);
 
 out:
        mutex_unlock(&sc->mutex);