forked from Minki/linux
staging: rtl8723bs: Place constant at the right.
Move constant to the right of a relational operator. This coding style is more common for the kernel code. Problem found by checkpatch. Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
97c2d79ae0
commit
948d704855
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user