diff options
author | Andres More <more.andres@gmail.com> | 2013-02-12 20:36:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-15 10:47:52 -0800 |
commit | e269fc2d129ade6543c22052755becf37e306e2a (patch) | |
tree | 450d3e2d954fe81682b36bf3bf165eec5f6809e1 /drivers/staging/vt6656/card.c | |
parent | dfdcc425975d06cbfcc9b5c0fad2f3af5476cd05 (diff) |
staging: vt6656: replaced custom FALSE definition with false
Checkpatch findings were not resolved, just direct replacement.
sed -i 's/\bFALSE\b/false/g' drivers/staging/vt6656/*.[ch]
Signed-off-by: Andres More <more.andres@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/card.c')
-rw-r--r-- | drivers/staging/vt6656/card.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c index 9b8daeddbfc..21c24f7ff66 100644 --- a/drivers/staging/vt6656/card.c +++ b/drivers/staging/vt6656/card.c @@ -501,7 +501,7 @@ void vUpdateIFS(struct vnt_private *pDevice) } else {// PK_TYPE_11GA & PK_TYPE_11GB BYTE byRate = 0; - bool bOFDMRate = FALSE; + bool bOFDMRate = false; unsigned int ii = 0; PWLAN_IE_SUPP_RATES pItemRates = NULL; @@ -521,7 +521,7 @@ void vUpdateIFS(struct vnt_private *pDevice) break; } } - if (bOFDMRate == FALSE) { + if (bOFDMRate == false) { pItemRates = (PWLAN_IE_SUPP_RATES)pDevice->vnt_mgmt .abyCurrExtSuppRates; for (ii = 0; ii < pItemRates->len; ii++) { @@ -599,7 +599,7 @@ void CARDvUpdateBasicTopRate(struct vnt_private *pDevice) * Out: * none * - * Return Value: TRUE if succeeded; FALSE if failed. + * Return Value: TRUE if succeeded; false if failed. * */ void CARDbAddBasicRate(struct vnt_private *pDevice, u16 wRateIdx) @@ -620,7 +620,7 @@ int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice) if ((pDevice->wBasicRate) & ((WORD)(1<<ii))) return TRUE; } - return FALSE; + return false; } u8 CARDbyGetPktType(struct vnt_private *pDevice) @@ -723,7 +723,7 @@ void CARDvAdjustTSF(struct vnt_private *pDevice, u8 byRxRate, * Out: * qwCurrTSF - Current TSF counter * - * Return Value: TRUE if success; otherwise FALSE + * Return Value: TRUE if success; otherwise false * */ bool CARDbGetCurrentTSF(struct vnt_private *pDevice, u64 *pqwCurrTSF) @@ -743,7 +743,7 @@ bool CARDbGetCurrentTSF(struct vnt_private *pDevice, u64 *pqwCurrTSF) * In: * pDevice - The adapter to be read * - * Return Value: TRUE if success; otherwise FALSE + * Return Value: TRUE if success; otherwise false * */ bool CARDbClearCurrentTSF(struct vnt_private *pDevice) @@ -899,7 +899,7 @@ void CARDvUpdateNextTBTT(struct vnt_private *pDevice, u64 qwTSF, * Out: * none * - * Return Value: TRUE if success; otherwise FALSE + * Return Value: TRUE if success; otherwise false * */ int CARDbRadioPowerOff(struct vnt_private *pDevice) @@ -939,7 +939,7 @@ int CARDbRadioPowerOff(struct vnt_private *pDevice) * Out: * none * - * Return Value: TRUE if success; otherwise FALSE + * Return Value: TRUE if success; otherwise false * */ int CARDbRadioPowerOn(struct vnt_private *pDevice) @@ -947,13 +947,13 @@ int CARDbRadioPowerOn(struct vnt_private *pDevice) int bResult = TRUE; if ((pDevice->bHWRadioOff == TRUE) || (pDevice->bRadioControlOff == TRUE)) { - return FALSE; + return false; } - //if (pDevice->bRadioOff == FALSE) + //if (pDevice->bRadioOff == false) // return TRUE; - pDevice->bRadioOff = FALSE; + pDevice->bRadioOff = false; BBvExitDeepSleep(pDevice); |