qcacld-3.0: Set recovery_in_progress flag for all the fw down events

Presently, recovery inprogress flag is set only when PLD_RECOVERY
is received but in cases of rejuvenate only PLD_FW_DOWN is received.

Set for the recovery in progress for all the firmware down events
so the unneccessary bug_on's will be avoided.

Change-Id: I654e9e5b02925ac21857369f87af6ca40d8dc815
CRs-Fixed: 2285278
This commit is contained in:
Sourav Mohapatra 2018-08-27 08:48:47 +05:30 • committed by nshrivas
commit a5c7a26207

View file

@ -1502,6 +1502,7 @@ static void wlan_hdd_set_the_pld_uevent(struct pld_uevent_data *uevent)
case PLD_FW_DOWN:
cds_set_fw_state(CDS_FW_STATE_DOWN);
cds_set_target_ready(false);
cds_set_recovery_in_progress(true);
break;
}
}