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>
This commit is contained in:
parent
2c13087194
commit
0be1eb7429
2 changed files with 3 additions and 12 deletions
|
@ -7698,7 +7698,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
|
||||||
/* HT Cap. IE */
|
/* HT Cap. IE */
|
||||||
else if (pu8IEs[index] == HT_CAPABILITY_IE) {
|
else if (pu8IEs[index] == HT_CAPABILITY_IE) {
|
||||||
/* if IE found set the flag */
|
/* 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 */
|
index += pu8IEs[index + 1] + 2; /* ID,Length bytes and IE body */
|
||||||
/* PRINT_D(HOSTINF_DBG,"HT_CAPABALE\n"); */
|
/* PRINT_D(HOSTINF_DBG,"HT_CAPABALE\n"); */
|
||||||
continue;
|
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 + 6] == 0x00) || (pu8IEs[index + 6] == 0x01)) && /* OUI Sub Type */
|
||||||
(pu8IEs[index + 7] == 0x01)) {
|
(pu8IEs[index + 7] == 0x01)) {
|
||||||
/* Presence of WMM Info/Param element indicates WMM capability */
|
/* 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 */
|
/* Check if Bit 7 is set indicating U-APSD capability */
|
||||||
if (pu8IEs[index + 8] & (1 << 7)) {
|
if (pu8IEs[index + 8] & (1 << 7)) {
|
||||||
pNewJoinBssParam->uapsd_cap = BTRUE;
|
pNewJoinBssParam->uapsd_cap = true;
|
||||||
}
|
}
|
||||||
index += pu8IEs[index + 1] + 2;
|
index += pu8IEs[index + 1] + 2;
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -36,13 +36,4 @@
|
||||||
#ifndef ITYPES_H
|
#ifndef ITYPES_H
|
||||||
#define ITYPES_H
|
#define ITYPES_H
|
||||||
|
|
||||||
/*****************************************************************************/
|
|
||||||
/* Enums */
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
BFALSE = 0,
|
|
||||||
BTRUE = 1
|
|
||||||
} BOOL_T;
|
|
||||||
|
|
||||||
#endif /* ITYPES_H */
|
#endif /* ITYPES_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue