Prechádzať zdrojové kódy

qcacld-3.0: Fix scan queue not unregistered

Scan queue isn't unregistered, lead to scheduler queue leakage,
after driver module start/stop several times, scheduler queues
are used out, can't register any more.

Change-Id: I98d81591aee25a5e18e560766fb077733eb1b671
CRs-Fixed: 2431696
Jianmin Zhu 6 rokov pred
rodič
commit
4f3708d75a
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      core/cds/src/cds_api.c

+ 1 - 0
core/cds/src/cds_api.c

@@ -415,6 +415,7 @@ static QDF_STATUS cds_deregister_all_modules(void)
 
 	scheduler_deregister_wma_legacy_handler();
 	scheduler_deregister_sys_legacy_handler();
+	status = scheduler_deregister_module(QDF_MODULE_ID_SCAN);
 	status = scheduler_deregister_module(QDF_MODULE_ID_SYS);
 	status = scheduler_deregister_module(QDF_MODULE_ID_TARGET_IF);
 	status = scheduler_deregister_module(QDF_MODULE_ID_PE);