mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
17d1637977
commit
06334102cd
68 changed files with 2553 additions and 2572 deletions
|
@ -63,13 +63,13 @@ void rtl8188eu_set_intf_ops(struct _io_ops *pops);
|
|||
|
||||
static inline u8 rtw_usb_bulk_size_boundary(struct adapter * padapter,int buf_len)
|
||||
{
|
||||
u8 rst = _TRUE;
|
||||
u8 rst = true;
|
||||
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter);
|
||||
|
||||
if (pdvobjpriv->ishighspeed == _TRUE)
|
||||
rst = (0 == (buf_len) % USB_HIGH_SPEED_BULK_SIZE)?_TRUE:_FALSE;
|
||||
if (pdvobjpriv->ishighspeed == true)
|
||||
rst = (0 == (buf_len) % USB_HIGH_SPEED_BULK_SIZE)?true:false;
|
||||
else
|
||||
rst = (0 == (buf_len) % USB_FULL_SPEED_BULK_SIZE)?_TRUE:_FALSE;
|
||||
rst = (0 == (buf_len) % USB_FULL_SPEED_BULK_SIZE)?true:false;
|
||||
return rst;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue