Sfoglia il codice sorgente

qcacld-3.0: Fix SSR failure on Rome

Peer and vdev leaked during SSR, Helium/Rome SSR is different.
Helium:
FW assert will indicate to CNSS driver, then PLD_FW_DOWN
is sent, in wlan_hdd_pld_uevent, target ready is cleared and
RECOVERING is set, so wma_force_objmgr_vdev_peer_cleanup can be
called, no such issue.
Rome:
FW assert will indicate to wlan driver directly, in
ol_target_failure, only RECOVERING is set, target ready isn't
cleared, wma_force_objmgr_vdev_peer_cleanup can't be called,
so peer and vdev leaked.

Change-Id: I6ecf6cc439f931d8da67972c543376b2148982af
CRs-Fixed: 2403501
Jianmin Zhu 6 anni fa
parent
commit
9030831d48
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      core/bmi/src/ol_fw.c

+ 1 - 0
core/bmi/src/ol_fw.c

@@ -738,6 +738,7 @@ void ol_target_failure(void *instance, QDF_STATUS status)
 		       __func__);
 		return;
 	}
+	cds_set_target_ready(false);
 	cds_set_recovery_in_progress(true);
 
 	ret = hif_check_fw_reg(scn);