summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
diff options
context:
space:
mode:
authorYamanappagouda Patil <goudapatilk@gmail.com>2017-01-07 20:25:42 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-10 17:41:30 +0100
commit8bfea03410c33372e881eea95bfa3311d172999c (patch)
treede676d0fe80ac095da43ae3be7543381add0c703 /drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
parent1dfcda6fe7edf7eaaa0b884601bfc342eece619c (diff)
staging: rtl8188eu: fixed 'braces are not necessary for single statement blocks'.
Fixed checkpatch.pl warnings in rtl8188eu module core folder files. Signed-off-by: Yamanappagouda Patil <goudapatilk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_pwrctrl.c')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_pwrctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c b/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
index 5e439c1e12bb..f86c9cebf09a 100644
--- a/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
+++ b/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
@@ -180,9 +180,9 @@ int ips_leave(struct adapter *padapter)
DBG_88E("==>ips_leave cnts:%d\n", pwrpriv->ips_leave_cnts);
result = rtw_ips_pwr_up(padapter);
- if (result == _SUCCESS) {
+ if (result == _SUCCESS)
pwrpriv->rf_pwrstate = rf_on;
- }
+
DBG_88E_LEVEL(_drv_info_, "nolinked power save leave\n");
if ((_WEP40_ == psecuritypriv->dot11PrivacyAlgrthm) || (_WEP104_ == psecuritypriv->dot11PrivacyAlgrthm)) {