mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Check psoc in de-init process
In the stress test of insmod/rmmod, the object of psoc might fail to be initialized during initialization. For such case, recovery process should not be triggered in the de-init process. Add check for psoc to avoid false alarm. Change-Id: I71f9eed8596958788f6a3213e7a3bcd9ee346781 CRs-Fixed: 2165620
This commit is contained in:
parent
44b48a756c
commit
341d07550b
1 changed files with 2 additions and 1 deletions
|
|
@ -1016,7 +1016,8 @@ QDF_STATUS cds_disable(struct wlan_objmgr_psoc *psoc)
|
|||
* wma_stop() does target PDEV suspend.
|
||||
*/
|
||||
|
||||
dispatcher_psoc_disable(psoc);
|
||||
if (psoc)
|
||||
dispatcher_psoc_disable(psoc);
|
||||
|
||||
qdf_status = wma_stop(HAL_STOP_TYPE_RF_KILL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue