diff options
author | Dan Carpenter <error27@gmail.com> | 2010-02-12 14:48:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:42:58 -0800 |
commit | cd9d25ba31b2def7f84da1e3cedf21e8ebb90722 (patch) | |
tree | de09fe802b4c268d092c2a765e6940ddc3939677 | |
parent | 6de92dd6495e36c0c2cddbee3e7c6a49f608e7cf (diff) |
staging: vt6655: add missing curly braces
It's clear from the indent levels and the context that there are supposed to
be curly braces here.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/vt6655/card.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index db786142717..bf4fd49709d 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -2788,16 +2788,18 @@ void CARDvUpdateBasicTopRate (PVOID pDeviceHandler) //Determines the highest basic rate. for (ii = RATE_54M; ii >= RATE_6M; ii --) { - if ( (pDevice->wBasicRate) & ((WORD)(1<<ii)) ) + if ( (pDevice->wBasicRate) & ((WORD)(1<<ii)) ) { byTopOFDM = ii; break; + } } pDevice->byTopOFDMBasicRate = byTopOFDM; for (ii = RATE_11M;; ii --) { - if ( (pDevice->wBasicRate) & ((WORD)(1<<ii)) ) + if ( (pDevice->wBasicRate) & ((WORD)(1<<ii)) ) { byTopCCK = ii; break; + } if (ii == RATE_1M) break; } |