Print this page
XXXX introduce drv_sectohz

@@ -309,11 +309,11 @@
 void
 ieee80211_start_watchdog(ieee80211com_t *ic, uint32_t timer)
 {
         if (ic->ic_watchdog_timer == 0 && ic->ic_watchdog != NULL) {
                 ic->ic_watchdog_timer = timeout(ic->ic_watchdog, ic,
-                    drv_usectohz(1000000 * timer));
+                    drv_sectohz(timer));
         }
 }
 
 /*
  * Stop watchdog timer.