mirror of https://gitee.com/openkylin/linux.git
Staging: rtl8192u: Replace TRUE with true
This patch replaces TRUE by true, since Linux kernel has already a boolean type, bool, defined in linux/stddef.h Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
67d095a040
commit
6d67b3a2f3
|
@ -553,16 +553,16 @@ static void ieee80211_txrate_selectmode(struct ieee80211_device *ieee,
|
|||
#ifdef TO_DO_LIST
|
||||
if(!IsDataFrame(pFrame))
|
||||
{
|
||||
pTcb->bTxDisableRateFallBack = TRUE;
|
||||
pTcb->bTxUseDriverAssingedRate = TRUE;
|
||||
pTcb->bTxDisableRateFallBack = true;
|
||||
pTcb->bTxUseDriverAssingedRate = true;
|
||||
pTcb->RATRIndex = 7;
|
||||
return;
|
||||
}
|
||||
|
||||
if(pMgntInfo->ForcedDataRate!= 0)
|
||||
{
|
||||
pTcb->bTxDisableRateFallBack = TRUE;
|
||||
pTcb->bTxUseDriverAssingedRate = TRUE;
|
||||
pTcb->bTxDisableRateFallBack = true;
|
||||
pTcb->bTxUseDriverAssingedRate = true;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue