Selaa lähdekoodia

qcacld-3.0: Keep recovery in progress flag for ssr without pld support

For platform without pld support, SSR would do rmmod operation, which tries
to do suspend target, there is no ACK from crashed firmware during SSR.
Keep the recovery in progress flag to skip suspend target command.

Change-Id: Ic6b8f4ebacbf9dc5798730b253eae239fe30c159
CRs-Fixed: 3005884
Zhaoyang Liu 3 vuotta sitten
vanhempi
sitoutus
6f4f7adc22
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      core/bmi/src/ol_fw.c

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

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -553,7 +553,6 @@ static inline void ol_check_clean_recovery_flag(struct ol_context *ol_ctx)
 	qdf_device_t qdf_dev = ol_ctx->qdf_dev;
 
 	if (!pld_have_platform_driver_support(qdf_dev->dev)) {
-		cds_set_recovery_in_progress(false);
 		if (ol_ctx->fw_crashed_cb)
 			ol_ctx->fw_crashed_cb();
 	}