summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs/core/rtw_btcoex.c
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2017-07-09 01:28:25 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-16 08:40:58 +0200
commit948d704855312ca1c5533a0bc39ac0783f90beb9 (patch)
treef1e72ff918343ef15fdefdd024768f5cb700cd6b /drivers/staging/rtl8723bs/core/rtw_btcoex.c
parent97c2d79ae014fc5fcfdc867dc309e06c31006fae (diff)
downloadlinux-stable-948d704855312ca1c5533a0bc39ac0783f90beb9.tar.gz
linux-stable-948d704855312ca1c5533a0bc39ac0783f90beb9.tar.bz2
linux-stable-948d704855312ca1c5533a0bc39ac0783f90beb9.zip
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>
Diffstat (limited to 'drivers/staging/rtl8723bs/core/rtw_btcoex.c')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_btcoex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
index 3c5cb78b52ea..01f78d1671de 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -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);
}