]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: fix logical continuation style
authorPaarth Mahadik <paarth.mahadik@gmail.com>
Sat, 4 Apr 2026 07:26:26 +0000 (12:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 11:01:52 +0000 (05:01 -0600)
Logical continuation should be on the previous line,
move && to the end of the preceding line and align
the continuation with the opening parenthesis.

Signed-off-by: Paarth Mahadik <paarth.mahadik@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260404072626.134642-1-paarth.mahadik@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_btcoex.c

index 27dfd00b42495906d9e218e1841997353f7e6769..055ca95ff5a7ae7093a99ac056cce30663a5b2f4 100644 (file)
@@ -10,8 +10,8 @@
 
 void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 media_status)
 {
-       if ((media_status == RT_MEDIA_CONNECT)
-               && (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true)) {
+       if ((media_status == RT_MEDIA_CONNECT) &&
+           (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true)) {
                rtw_hal_set_hwreg(padapter, HW_VAR_DL_RSVD_PAGE, NULL);
        }