Commit 938db28b authored by Teodora Baluta's avatar Teodora Baluta Committed by Greg Kroah-Hartman

staging: vt6655: put brace on previous line

Place braces on same line for code statements. Fix the following
checkpatch.pl type of error for drivers/staging/vt6655/bssdb.c file:

ERROR: that open brace { should be on the previous line
Signed-off-by: default avatarTeodora Baluta <teobaluta@gmail.com>
Reviewed-by: default avatarLisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4f66ad8
...@@ -939,8 +939,7 @@ BSSvSecondCallBack( ...@@ -939,8 +939,7 @@ BSSvSecondCallBack(
cc = true; cc = true;
} else if (cc == true) { } else if (cc == true) {
if (pDevice->bHWRadioOff == true) { if (pDevice->bHWRadioOff == true) {
if (!(pDevice->byGPIO & GPIO0_DATA)) if (!(pDevice->byGPIO & GPIO0_DATA)) {
{
if (status == 1) if (status == 1)
goto start; goto start;
status = 1; status = 1;
...@@ -951,16 +950,14 @@ BSSvSecondCallBack( ...@@ -951,16 +950,14 @@ BSSvSecondCallBack(
pDevice->bLinkPass = false; pDevice->bLinkPass = false;
} }
if (pDevice->byGPIO & GPIO0_DATA) if (pDevice->byGPIO & GPIO0_DATA) {
{
if (status == 2) if (status == 2)
goto start; goto start;
status = 2; status = 2;
CARDbRadioPowerOn(pDevice); CARDbRadioPowerOn(pDevice);
} }
} else { } else {
if (pDevice->byGPIO & GPIO0_DATA) if (pDevice->byGPIO & GPIO0_DATA) {
{
if (status == 3) if (status == 3)
goto start; goto start;
status = 3; status = 3;
...@@ -971,8 +968,7 @@ BSSvSecondCallBack( ...@@ -971,8 +968,7 @@ BSSvSecondCallBack(
pDevice->bLinkPass = false; pDevice->bLinkPass = false;
} }
if (!(pDevice->byGPIO & GPIO0_DATA)) if (!(pDevice->byGPIO & GPIO0_DATA)) {
{
if (status == 4) if (status == 4)
goto start; goto start;
status = 4; status = 4;
...@@ -1321,8 +1317,7 @@ BSSvUpdateNodeTxCounter( ...@@ -1321,8 +1317,7 @@ BSSvUpdateNodeTxCounter(
(wRate < RATE_18M)) { (wRate < RATE_18M)) {
pMgmt->sNodeDBTable[0].uTxFail[wRate] += byTxRetry; pMgmt->sNodeDBTable[0].uTxFail[wRate] += byTxRetry;
} else if (byFallBack == AUTO_FB_0) { } else if (byFallBack == AUTO_FB_0) {
for (ii = 0; ii < byTxRetry; ii++) for (ii = 0; ii < byTxRetry; ii++) {
{
if (ii < 5) if (ii < 5)
wFallBackRate = awHWRetry0[wRate-RATE_18M][ii]; wFallBackRate = awHWRetry0[wRate-RATE_18M][ii];
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment