qcacld-3.0: Handle the error condition in start modules

Currently if cds_dp_open is failed, hdd_start_modules is not
disabling the scheduler thread. So, if we start wlan again,
leads to crash on scheduler restart as it was not
disabled properly.

To fix this add dispatcher_disable in the cleanup in
hdd_start_modules to disable scheduler.

Change-Id: Ibe12e8bf74a8cb8b7604fd2b57426005c922f65a
CRs-Fixed: 3550858
Tento commit je obsažen v:
Vinod Kumar Myadam
2023-07-07 19:50:05 +05:30
odevzdal Rahul Choudhary
rodič c2b848ae80
revize c55a7c9ad5

Zobrazit soubor

@@ -5090,6 +5090,7 @@ cds_txrx_free:
cds_dp_close(hdd_ctx->psoc);
close:
dispatcher_disable();
hdd_ctx->driver_status = DRIVER_MODULES_CLOSED;
hdd_info("Wlan transition aborted (now CLOSED)");