summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-06-07 23:16:59 +0000
committersam <sam@FreeBSD.org>2009-06-07 23:16:59 +0000
commitfd7231d2b0d33a9c7627ad79a996a9412de4a4a3 (patch)
treef7161cd3ce7af62b33e8ec22d90e29cdecd9298a /sys/net80211
parentee2d4a84ad150dbc5c9657e6d1289f306a1af833 (diff)
downloadFreeBSD-src-fd7231d2b0d33a9c7627ad79a996a9412de4a4a3.zip
FreeBSD-src-fd7231d2b0d33a9c7627ad79a996a9412de4a4a3.tar.gz
prefer callout_schedule
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_dfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_dfs.c b/sys/net80211/ieee80211_dfs.c
index 7e65c5f..bab9e78 100644
--- a/sys/net80211/ieee80211_dfs.c
+++ b/sys/net80211/ieee80211_dfs.c
@@ -232,8 +232,7 @@ dfs_timeout(void *arg)
}
if (oldest != now) {
/* arrange to process next channel up for a status change */
- callout_reset(&dfs->nol_timer, oldest + NOL_TIMEOUT,
- dfs_timeout, ic);
+ callout_schedule(&dfs->nol_timer, oldest + NOL_TIMEOUT);
}
IEEE80211_UNLOCK(ic);
}
OpenPOWER on IntegriCloud