mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
staging: rtl8723bs: Change return type of hal_btcoex_IsBtControlLps()
Change return type of hal_btcoex_IsBtControlLps from u8 to bool as it only returns boolean values. Change comparison to false within this function; check the boolean variable directly instead. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190802062444.30384-2-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
42755adcce
commit
84881dd37b
@@ -1475,9 +1475,9 @@ void hal_btcoex_SetManualControl(struct adapter *padapter, u8 bmanual)
|
||||
GLBtCoexist.bManualControl = bmanual;
|
||||
}
|
||||
|
||||
u8 hal_btcoex_IsBtControlLps(struct adapter *padapter)
|
||||
bool hal_btcoex_IsBtControlLps(struct adapter *padapter)
|
||||
{
|
||||
if (hal_btcoex_IsBtExist(padapter) == false)
|
||||
if (!hal_btcoex_IsBtExist(padapter))
|
||||
return false;
|
||||
|
||||
if (GLBtCoexist.btInfo.bBtDisabled)
|
||||
|
||||
@@ -47,7 +47,7 @@ void hal_btcoex_Handler(struct adapter *padapter);
|
||||
|
||||
s32 hal_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter);
|
||||
void hal_btcoex_SetManualControl(struct adapter *padapter, u8 bmanual);
|
||||
u8 hal_btcoex_IsBtControlLps(struct adapter *);
|
||||
bool hal_btcoex_IsBtControlLps(struct adapter *padapter);
|
||||
u8 hal_btcoex_IsLpsOn(struct adapter *);
|
||||
u8 hal_btcoex_RpwmVal(struct adapter *);
|
||||
u8 hal_btcoex_LpsVal(struct adapter *);
|
||||
|
||||
Reference in New Issue
Block a user