diff options
| author | Amar Singhal <asinghal@codeaurora.org> | 2018-01-26 16:04:13 -0800 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2018-02-01 15:12:47 -0800 |
| commit | 1095cf8bd1ee9d452da5a02be507b2e3f1a20fa2 (patch) | |
| tree | 928329e901dbeeca841a4f19190f9a29ee363cee | |
| parent | 123b45d0c9530fd74571c4db5bb5420253c7ea01 (diff) | |
qcacld-3.0: Destroy sysfs version node in stop modules
Destroy the sysfs node when modules transition from opened to
stopped. Otherwise duplicate creation of node can lead to warning.
CRs-Fixed: 2180344
Change-Id: Ib1031cfa0572962454b293730fefd7a4b4cf8d09
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 9e741496c331..f634db285b9b 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -10356,6 +10356,8 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx, bool ftm_mode) goto done; } + hdd_sysfs_destroy_version_interface(); + qdf_status = cds_post_disable(); if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { hdd_err("Failed to process post CDS disable Modules! :%d", |
