summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-01-20 23:46:21 -0700
committerLinux Build Service Account <lnxbuild@localhost>2018-01-20 23:46:21 -0700
commitac55dfc747f410c0a35b3973681474519dbef29b (patch)
tree31622ac6721c96c8cbb97e7a8182a9b44c0c23c3
parent425c2074de2ddc273e4aa13b6a41f3104d61bd20 (diff)
parent98ebbeb2efa9545cae1e4c2adc0228f1d6bdf688 (diff)
downloadandroid_hardware_qcom_wlan-ac55dfc747f410c0a35b3973681474519dbef29b.tar.gz
android_hardware_qcom_wlan-ac55dfc747f410c0a35b3973681474519dbef29b.tar.bz2
android_hardware_qcom_wlan-ac55dfc747f410c0a35b3973681474519dbef29b.zip
Merge 98ebbeb2efa9545cae1e4c2adc0228f1d6bdf688 on remote branch
Change-Id: Id8e1c7b27eefe891f6e0a8867d67e7c09509ecec
-rw-r--r--qcwcn/wifi_hal/llstats.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/qcwcn/wifi_hal/llstats.cpp b/qcwcn/wifi_hal/llstats.cpp
index 23e5e7b..5648cb2 100644
--- a/qcwcn/wifi_hal/llstats.cpp
+++ b/qcwcn/wifi_hal/llstats.cpp
@@ -1350,10 +1350,9 @@ wifi_error wifi_get_link_stats(wifi_request_id id,
if (ret != WIFI_SUCCESS) {
LLCommand->clearStats();
goto cleanup;
- }
-
- if (ret != WIFI_SUCCESS)
+ } else {
ret = LLCommand->notifyResponse();
+ }
cleanup:
return ret;