qcacld-3.0: trigger panic if SSR DSC ops timed out

Trigger panic if SSR timed out.

Change-Id: I72d81da46745d2f6a5ff34a57b6d66b7f7171dde
CRs-Fixed: 3398969
This commit is contained in:
Yu Wang
2023-02-20 10:50:38 +08:00
committed by Madan Koyyalamudi
orang tua 748f7555ed
melakukan 70c5469566

Melihat File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. 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
@@ -181,7 +182,8 @@ static void __dsc_dbg_trans_timeout(void *opaque_trans)
qdf_print_thread_trace(trans->thread);
if (cds_is_fw_down())
if (cds_is_fw_down() &&
!qdf_str_eq(trans->active_desc, "hdd_soc_recovery_shutdown"))
dsc_err("fw is down avoid panic");
else
QDF_DEBUG_PANIC("Transition '%s' exceeded %ums",