diff options
| author | CNSS_WLAN Service <cnssbldsw@qualcomm.com> | 2018-02-26 05:19:59 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-02-26 05:19:59 -0800 |
| commit | 667351682ed21d6fa70b2db69f94c746d2004aae (patch) | |
| tree | 7ee7e57e6fd51fb423feba6bfd7fe3a1645b776b | |
| parent | 2b48f72b2f2578a44bb40a58bf7e6184945975ba (diff) | |
| parent | 0695d34623c1ec0dc273e30837ad43f8c7e44d10 (diff) | |
Merge "qcacld-2.0: Update correct value for low power stats" into wlan-cld2.driver.lnx.1.0
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_debugfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/HDD/src/wlan_hdd_debugfs.c b/CORE/HDD/src/wlan_hdd_debugfs.c index b4a7205bf339..57c3d3693a1d 100644 --- a/CORE/HDD/src/wlan_hdd_debugfs.c +++ b/CORE/HDD/src/wlan_hdd_debugfs.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -652,7 +652,8 @@ static void hdd_power_debugstats_cb(struct power_stats_response *response, power_stats->cumulative_sleep_time_ms = response->cumulative_sleep_time_ms; power_stats->cumulative_total_on_time_ms - = response->cumulative_total_on_time_ms; + = response->cumulative_total_on_time_ms - + response->cumulative_sleep_time_ms; power_stats->deep_sleep_enter_counter = response->deep_sleep_enter_counter; power_stats->last_deep_sleep_enter_tstamp_ms |
