Re: [PATCH v2] staging: rtl8723bs: fix line length in rtw_pwrctrl.c

From: Ethan Tidmore

Date: Mon Mar 09 2026 - 17:14:28 EST


On Mon Mar 9, 2026 at 3:21 PM CDT, Ayan Mahmood wrote:
> Refactor lines exceeding 100 characters in rtw_pwrctrl.c to
> comply with kernel coding style as noted in the driver TODO.
>
> Signed-off-by: Ayan Mahmood <ayanmahmood249@xxxxxxxxx>

...

> hal_btcoex_LpsNotify(padapter, ps_mode);
> }
> } else {
> - if ((PS_RDY_CHECK(padapter) && check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE)) ||
> + if ((PS_RDY_CHECK(padapter) &&
> + check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE)) ||
> ((hal_btcoex_IsBtControlLps(padapter)) && (hal_btcoex_IsLpsOn(padapter)))
> ) {

Go ahead and put the ) { in the correct spot:

((hal_btcoex_IsBtControlLps(padapter)) && (hal_btcoex_IsLpsOn(padapter)))) {

Thanks,

ET