mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Staging: rtl8188eu: core: rtw_pwrctrl.c: Fix a comparision warning.
Move the constant to the right side of comparision. Issue found by checkpatch.pl semantic patch results for rtw_ap.c WARNING:Comparision should place the constant on the right side of the test. Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f680cf503a
commit
7af9181020
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@ void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_a
|
|||
}
|
||||
|
||||
if (pwrpriv->pwr_mode == ps_mode) {
|
||||
if (PS_MODE_ACTIVE == ps_mode)
|
||||
if (ps_mode == PS_MODE_ACTIVE)
|
||||
return;
|
||||
|
||||
if ((pwrpriv->smart_ps == smart_ps) &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue