staging: rtl8723bs: Place constant at the right.
PATCH v4 1/1 staging: rtl8723bs: Place constant at the right.
Move constant to the right of the relational operator to follow the pattern which is more common in kernel code".
Problem found by checkpatch.
Signed-off-by Shreeya Patel <[email protected]>
---
Changes in v4:
-Make the commit message more appropriate.
drivers/staging/rtl8723bs/core/rtw_btcoex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/core/rtw_btcoex.c +1 -1
@@ -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
PATCH v4 1/1 staging: rtl8723bs: Place constant at the right.
Quoted 1 line · Shreeya Patel
Move constant to the right of the relational operator to follow the pattern which is more common in kernel code".
Please line-wrap your changelog text at the proper column that your editor asks you to :)
thnaks,
greg k-h