summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/card.c
diff options
context:
space:
mode:
authorAndres More2013-02-13 02:36:29 +0100
committerGreg Kroah-Hartman2013-02-15 19:47:52 +0100
commite269fc2d129ade6543c22052755becf37e306e2a (patch)
tree450d3e2d954fe81682b36bf3bf165eec5f6809e1 /drivers/staging/vt6656/card.c
parentstaging: vt6656: replace custom BOOL definition with bool (diff)
downloadkernel-qcow2-linux-e269fc2d129ade6543c22052755becf37e306e2a.tar.gz
kernel-qcow2-linux-e269fc2d129ade6543c22052755becf37e306e2a.tar.xz
kernel-qcow2-linux-e269fc2d129ade6543c22052755becf37e306e2a.zip
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.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 9b8daeddbfcb..21c24f7ff66e 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);