diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index 84d78dba63..a267c05b45 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -3657,6 +3657,7 @@ void wmi_set_target_suspend(wmi_unified_t wmi_handle, A_BOOL val) void wmi_set_target_suspend_acked(wmi_unified_t wmi_handle, A_BOOL val) { qdf_atomic_set(&wmi_handle->is_target_suspend_acked, val); + qdf_atomic_set(&wmi_handle->num_stats_over_qmi, 0); } /**