diff options
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 72de42d8439a..73eb8c01dd31 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -2217,7 +2217,10 @@ release_lock: hdd_ctx->start_modules_in_progress = false; mutex_unlock(&hdd_ctx->iface_change_lock); - hdd_check_for_leaks(); + /* many adapter resources are not freed by design in SSR case */ + if (!reinit) + hdd_check_for_leaks(); + qdf_mem_set_domain(QDF_MEM_DOMAIN_INIT); EXIT(); |
