* [PATCH] staging/vt6656: Fix screwed up indentation in swGetOFDMControlRate
@ 2013-09-05 4:00 Dave Jones
0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2013-09-05 4:00 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: Linux Kernel, tvboxspy
The indentation in the swGetOFDMControlRate function is screwed up.
At first it appears that there are missing braces on a multi-line if, but
looking at history, commit dd0a774fc727ee793780197beb3f2cf80bfefa99
("staging: vt6656: card/main_usb/device use new structure names")
incorrectly indented the two lines below.
Signed-off-by: Dave Jones <davej@fedoraproject.org>
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index dbf11ec..19d3cf4 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -172,8 +172,8 @@ static u16 swGetOFDMControlRate(struct vnt_private *pDevice, u16 wRateIdx)
if (!CARDbIsOFDMinBasicRate(pDevice)) {
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"swGetOFDMControlRate:(NO OFDM) %d\n", wRateIdx);
- if (wRateIdx > RATE_24M)
- wRateIdx = RATE_24M;
+ if (wRateIdx > RATE_24M)
+ wRateIdx = RATE_24M;
return wRateIdx;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-05 4:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-05 4:00 [PATCH] staging/vt6656: Fix screwed up indentation in swGetOFDMControlRate Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox