diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index 3fac407753c1..b4b8c4bf0d33 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2020 The Linux Foundation. All rights reserved. - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved + * Copyright (c) 2022-2024 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 @@ -959,7 +959,6 @@ static void hdd_soc_recovery_cleanup(void) /* cancel/flush any pending/active idle shutdown work */ hdd_psoc_idle_timer_stop(hdd_ctx); - hdd_bus_bw_compute_timer_stop(hdd_ctx); /* nothing to do if the soc is already unloaded */ if (hdd_ctx->driver_status == DRIVER_MODULES_CLOSED) { @@ -972,6 +971,7 @@ static void hdd_soc_recovery_cleanup(void) return; } + hdd_bus_bw_compute_timer_stop(hdd_ctx); hdd_psoc_shutdown_notify(hdd_ctx); }