summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-02-16 01:31:26 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-02-16 01:31:26 +0000
commit86232ded4f9c916891d7af8ffe0d61e532a4fbee (patch)
tree3317a14263327290a654310b1f85b24952f1b1ce /sys/dev
parent19d4bbc8213112056298d8c4d24e6ca964053dd6 (diff)
fix an invalid condition which returns on an invalid beacon state.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ar5210.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5210.c b/sys/dev/ic/ar5210.c
index e3bc067f928..c688f66d449 100644
--- a/sys/dev/ic/ar5210.c
+++ b/sys/dev/ic/ar5210.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5210.c,v 1.9 2005/01/09 18:18:15 reyk Exp $ */
+/* $OpenBSD: ar5210.c,v 1.10 2005/02/16 01:31:25 reyk Exp $ */
/*
* Copyright (c) 2004 Reyk Floeter <reyk@vantronix.net>.
@@ -2191,7 +2191,7 @@ ar5k_ar5210_setStationBeaconTimers(hal, state, tsf, dtim_count, cfp_count)
u_int32_t cfp_period, next_cfp;
/* Return on an invalid beacon state */
- if (state->bs_interval > 0)
+ if (state->bs_interval < 1)
return;
/*