diff options
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/bssdb.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c index 6c27be4ae9fa..ef660cd88d45 100644 --- a/drivers/staging/vt6655/bssdb.c +++ b/drivers/staging/vt6655/bssdb.c @@ -142,7 +142,8 @@ BSSpSearchBSSList( /* match BSSID first */ for (ii = 0; ii < MAX_BSS_NUM; ii++) { pCurrBSS = &(pMgmt->sBSSList[ii]); - if (pDevice->bLinkPass == false) pCurrBSS->bSelected = false; + if (pDevice->bLinkPass == false) + pCurrBSS->bSelected = false; if ((pCurrBSS->bActive) && (pCurrBSS->bSelected == false)) { if (ether_addr_equal(pCurrBSS->abyBSSID, @@ -940,7 +941,8 @@ BSSvSecondCallBack( if (pDevice->bHWRadioOff == true) { if (!(pDevice->byGPIO & GPIO0_DATA)) { - if (status == 1) goto start; + if (status == 1) + goto start; status = 1; CARDbRadioPowerOff(pDevice); pMgmt->sNodeDBTable[0].bActive = false; @@ -951,14 +953,16 @@ BSSvSecondCallBack( } if (pDevice->byGPIO & GPIO0_DATA) { - if (status == 2) goto start; + if (status == 2) + goto start; status = 2; CARDbRadioPowerOn(pDevice); } } else { if (pDevice->byGPIO & GPIO0_DATA) { - if (status == 3) goto start; + if (status == 3) + goto start; status = 3; CARDbRadioPowerOff(pDevice); pMgmt->sNodeDBTable[0].bActive = false; @@ -969,7 +973,8 @@ BSSvSecondCallBack( } if (!(pDevice->byGPIO & GPIO0_DATA)) { - if (status == 4) goto start; + if (status == 4) + goto start; status = 4; CARDbRadioPowerOn(pDevice); } |