diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-06-13 15:41:18 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-13 14:45:51 -0700 |
commit | 0be1eb7429b2d23db44e3d15589d20fce53e7043 (patch) | |
tree | 70213c68db7b9a6ad3869b9974f920cd3c8f66d7 | |
parent | 2c13087194700b16aada1a9112fad5b3861ac9fb (diff) | |
download | linux-0be1eb7429b2d23db44e3d15589d20fce53e7043.tar.gz linux-0be1eb7429b2d23db44e3d15589d20fce53e7043.tar.bz2 linux-0be1eb7429b2d23db44e3d15589d20fce53e7043.zip |
staging: wilc1000: remove BOOL_T typedef
Remove BOOL_T typedef.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 6 | ||||
-rw-r--r-- | drivers/staging/wilc1000/itypes.h | 9 |
2 files changed, 3 insertions, 12 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 17ab5cdfcf12..ca59f1b30af5 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -7698,7 +7698,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo) /* HT Cap. IE */ else if (pu8IEs[index] == HT_CAPABILITY_IE) { /* if IE found set the flag */ - pNewJoinBssParam->ht_capable = BTRUE; + pNewJoinBssParam->ht_capable = true; index += pu8IEs[index + 1] + 2; /* ID,Length bytes and IE body */ /* PRINT_D(HOSTINF_DBG,"HT_CAPABALE\n"); */ continue; @@ -7709,11 +7709,11 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo) ((pu8IEs[index + 6] == 0x00) || (pu8IEs[index + 6] == 0x01)) && /* OUI Sub Type */ (pu8IEs[index + 7] == 0x01)) { /* Presence of WMM Info/Param element indicates WMM capability */ - pNewJoinBssParam->wmm_cap = BTRUE; + pNewJoinBssParam->wmm_cap = true; /* Check if Bit 7 is set indicating U-APSD capability */ if (pu8IEs[index + 8] & (1 << 7)) { - pNewJoinBssParam->uapsd_cap = BTRUE; + pNewJoinBssParam->uapsd_cap = true; } index += pu8IEs[index + 1] + 2; continue; diff --git a/drivers/staging/wilc1000/itypes.h b/drivers/staging/wilc1000/itypes.h index 2441853f9153..d64ae3522ce5 100644 --- a/drivers/staging/wilc1000/itypes.h +++ b/drivers/staging/wilc1000/itypes.h @@ -36,13 +36,4 @@ #ifndef ITYPES_H #define ITYPES_H -/*****************************************************************************/ -/* Enums */ -/*****************************************************************************/ - -typedef enum { - BFALSE = 0, - BTRUE = 1 -} BOOL_T; - #endif /* ITYPES_H */ |