summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_rum.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/if_rum.c')
-rw-r--r--sys/dev/usb/if_rum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c
index df53a86dad1..3f491a43df2 100644
--- a/sys/dev/usb/if_rum.c
+++ b/sys/dev/usb/if_rum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rum.c,v 1.78 2008/08/27 09:05:03 damien Exp $ */
+/* $OpenBSD: if_rum.c,v 1.79 2008/10/15 19:12:18 blambert Exp $ */
/*-
* Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr>
@@ -2218,7 +2218,7 @@ rum_amrr_start(struct rum_softc *sc, struct ieee80211_node *ni)
i--);
ni->ni_txrate = i;
- timeout_add(&sc->amrr_to, hz);
+ timeout_add_sec(&sc->amrr_to, 1);
}
void
@@ -2269,7 +2269,7 @@ rum_amrr_update(usbd_xfer_handle xfer, usbd_private_handle priv,
ieee80211_amrr_choose(&sc->amrr, sc->sc_ic.ic_bss, &sc->amn);
- timeout_add(&sc->amrr_to, hz);
+ timeout_add_sec(&sc->amrr_to, 1);
}
int