Skip to contentSkip to conversation

staging:rtl8723bs:core:rtw_btcoex: Fixed checkpatch.pl warning on 'Comparisons should place the constant on the right side of the test'.

PATCH In review Shreeya Patel 2 participants 2 messages Jul 5, 2017 – Jul 11, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 390/390 staging:rtl8723bs:core:rtw_btcoex: Fixed checkpatch.pl warning on 'Comparisons should place the constant on the right side of the test'.

Fixed a coding style issue.

---
 drivers/staging/rtl8723bs/core/rtw_btcoex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_btcoex.c +1 -1
index 3c5cb78..01f78d1 100644
@@ -55,7 +55,7 @@ void rtw_btcoex_ConnectNotify(struct adapter *padapter, u8 action)
 
 void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus)
 {
-	if ((RT_MEDIA_CONNECT == mediaStatus)
+	if ((mediaStatus == 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.7.4
maintainer
#1 lore raw
Quoted 6 lines · Shreeya Patel

Fixed a coding style issue.

---
 drivers/staging/rtl8723bs/core/rtw_btcoex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Where are the 329 other patches in this series? I can't take just one of them, right?

And your subject is _very_ long :(

thanks,

greg k-h