diff options
author | Charles Clément <caratorn@gmail.com> | 2010-08-01 17:15:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-02 18:17:38 -0700 |
commit | 5a5a2a6ad4aa2467bcc34fa50e85c2afc90bab05 (patch) | |
tree | 386e358656a1f9f070a59f4632f7f2b253bc1c33 /drivers/staging/vt6655/vntwifi.c | |
parent | 1b12068a804711ae2f4fd2876d5706542c1d7ad9 (diff) |
Staging: vt6655: replace FALSE with in kernel false
Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/vntwifi.c')
-rw-r--r-- | drivers/staging/vt6655/vntwifi.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/vt6655/vntwifi.c b/drivers/staging/vt6655/vntwifi.c index 796ab753d5d..85a662cc7b2 100644 --- a/drivers/staging/vt6655/vntwifi.c +++ b/drivers/staging/vt6655/vntwifi.c @@ -319,7 +319,7 @@ VNTWIFIvSetAuthenticationMode ( (eAuthMode == WMAC_AUTH_AUTO)) { pMgmt->bShareKeyAlgorithm = true; } else { - pMgmt->bShareKeyAlgorithm = FALSE; + pMgmt->bShareKeyAlgorithm = false; } } @@ -352,7 +352,7 @@ VNTWIFIvSetEncryptionMode ( (eEncryptionMode == WMAC_ENCRYPTION_AESEnabled) ) { pMgmt->bPrivacyInvoked = true; } else { - pMgmt->bPrivacyInvoked = FALSE; + pMgmt->bPrivacyInvoked = false; } } @@ -371,7 +371,7 @@ VNTWIFIbConfigPhyMode ( if (CARDbSetPhyParameter(pMgmt->pAdapter, ePhyType, 0, 0, NULL, NULL)==true) { pMgmt->eCurrentPHYMode = ePhyType; } else { - return(FALSE); + return(false); } } pMgmt->eConfigPHYMode = ePhyType; @@ -505,7 +505,7 @@ VNTWIFIvUpdateNodeTxCounter( if ((pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) || (pMgmt->eCurrMode == WMAC_MODE_ESS_AP)) { - if (BSSDBbIsSTAInNodeDB(pMgmt, pbyDestAddress, &uNodeIndex) == FALSE) { + if (BSSDBbIsSTAInNodeDB(pMgmt, pbyDestAddress, &uNodeIndex) == false) { return; } } @@ -628,7 +628,7 @@ VNTWIFIbInit( pMgmt = (PSMgmtObject)kmalloc(sizeof(SMgmtObject), (int)GFP_ATOMIC); if (pMgmt == NULL) { *pMgmtHandler = NULL; - return FALSE; + return false; } memset(pMgmt, 0, sizeof(SMgmtObject)); @@ -648,8 +648,8 @@ VNTWIFIbInit( pMgmt->uCmdDequeueIdx = 0; pMgmt->uCmdEnqueueIdx = 0; pMgmt->eCommandState = WLAN_CMD_STATE_IDLE; - pMgmt->bCmdStop = FALSE; - pMgmt->bCmdRunning = FALSE; + pMgmt->bCmdStop = false; + pMgmt->bCmdRunning = false; *pMgmtHandler = pMgmt; return true; @@ -668,7 +668,7 @@ VNTWIFIbSetPMKIDCache ( PSMgmtObject pMgmt = (PSMgmtObject) pMgmtObject; if (ulCount > MAX_PMKID_CACHE) { - return (FALSE); + return (false); } pMgmt->gsPMKIDCache.BSSIDInfoCount = ulCount; memcpy(pMgmt->gsPMKIDCache.BSSIDInfo, pPMKIDInfo, (ulCount*sizeof(PMKIDInfo))); @@ -779,7 +779,7 @@ VNTWIFIbChannelSwitch( //spin_lock_irq(&pDevice->lock); pMgmt->uCurrChannel = byNewChannel; - pMgmt->bSwitchChannel = FALSE; + pMgmt->bSwitchChannel = false; //spin_unlock_irq(&pDevice->lock); return true; } |