mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Destroy sysfs version node in stop modules
Destroy the node when modules transition from opened to stopped. Otherwise duplicate creation of node can lead to warning. Change-Id: Ib1031cfa0572962454b293730fefd7a4b4cf8d09 CRs-Fixed: 2180344
This commit is contained in:
parent
26bf9e68b7
commit
1808164995
1 changed files with 2 additions and 0 deletions
|
|
@ -10145,7 +10145,9 @@ int hdd_wlan_stop_modules(struct hdd_context *hdd_ctx, bool ftm_mode)
|
|||
goto done;
|
||||
}
|
||||
|
||||
hdd_sysfs_destroy_version_interface();
|
||||
hdd_debug("Closing CDS modules!");
|
||||
|
||||
qdf_status = cds_post_disable();
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
||||
hdd_err("Failed to process post CDS disable Modules! :%d",
|
||||
|
|
|
|||
Loading…
Reference in a new issue