diff options
author | 2003-06-16 03:45:40 +0000 | |
---|---|---|
committer | 2003-06-16 03:45:40 +0000 | |
commit | b768baf5d50942c3645cc4c4c4c4c1e48c476f0b (patch) | |
tree | 4d1ca8e5c43c50f8027950319496e620eccce072 | |
parent | be more sane w/ byte swapping and leave the le archs at the same behaviour and give be archs a better chance at getting the correct mac address as tested on the mac and hppa where mac has an additional bug w/ the phy bit still remaining and hppa seems fine; jason@ ok (diff) | |
download | wireguard-openbsd-b768baf5d50942c3645cc4c4c4c4c1e48c476f0b.tar.xz wireguard-openbsd-b768baf5d50942c3645cc4c4c4c4c1e48c476f0b.zip |
correct sense of rate check... oops.
-rw-r--r-- | sys/arch/macppc/dev/awacs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/awacs.c b/sys/arch/macppc/dev/awacs.c index 409a1e73097..60d860df60e 100644 --- a/sys/arch/macppc/dev/awacs.c +++ b/sys/arch/macppc/dev/awacs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: awacs.c,v 1.14 2003/06/16 03:22:45 jason Exp $ */ +/* $OpenBSD: awacs.c,v 1.15 2003/06/16 03:45:40 jason Exp $ */ /* $NetBSD: awacs.c,v 1.4 2001/02/26 21:07:51 wiz Exp $ */ /*- @@ -1240,7 +1240,7 @@ awacs_set_rate(struct awacs_softc *sc, struct audio_params *p) for (i = 1; selected == -1 && i < n; i++) { if (p->sample_rate == awacs_speeds[i].rate) selected = i; - else if (p->sample_rate > awacs_speeds[i].rate) { + else if (p->sample_rate < awacs_speeds[i].rate) { u_int diff1, diff2; diff1 = p->sample_rate - awacs_speeds[i - 1].rate; |