diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-11-24 23:29:40 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-11-24 23:29:40 +0000 |
commit | ac35b70d05e003e0808f1f55014d1a6f5a8c077f (patch) | |
tree | 6d2f5058b44b444f6d2af87a00324e6090814811 /sys/dev/ic | |
parent | c53ad35019ba43295a921f6d109f8886a749d332 (diff) |
Small KNF fix.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/malo.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index abe9a2c33a5..f6df02381c4 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malo.c,v 1.35 2006/11/24 23:28:24 mglocker Exp $ */ +/* $OpenBSD: malo.c,v 1.36 2006/11/24 23:29:39 mglocker Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -1200,24 +1200,24 @@ int malo_chip2rate(int chip_rate) { switch (chip_rate) { - /* CCK rates */ - case 0: return 2; - case 1: return 4; - case 2: return 11; - case 3: return 22; - - /* OFDM rates */ - case 5: return 12; - case 6: return 18; - case 7: return 24; - case 8: return 36; - case 9: return 48; - case 10: return 72; - case 11: return 96; - case 12: return 108; - - /* unknown rate: should not happen */ - default: return 0; + /* CCK rates */ + case 0: return 2; + case 1: return 4; + case 2: return 11; + case 3: return 22; + + /* OFDM rates */ + case 5: return 12; + case 6: return 18; + case 7: return 24; + case 8: return 36; + case 9: return 48; + case 10: return 72; + case 11: return 96; + case 12: return 108; + + /* unknown rate: should not happen */ + default: return 0; } } |