Skip to contentSkip to conversation

staging: rtl8723bs: fix logical continuation style

PATCH In review Paarth Mahadik 2 participants 2 messages Apr 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: fix logical continuation style

Logical continuation should be on the previous line, move && to the end of the preceding line and align the continuation with the opening parenthesis.

---
 drivers/staging/rtl8723bs/core/rtw_btcoex.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8723bs/core/rtw_btcoex.c +2 -2
index 0191a943f0a4..f47c9d079e70 100644
@@ -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);
 	}
 
Signature · 1 line
2.53.0