diff options
| author | Dustin Brown <dustinb@codeaurora.org> | 2017-06-26 11:57:53 -0700 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-06-26 16:48:10 -0700 |
| commit | a130461b91c6c1175f7247d343af4bbba8a05c6f (patch) | |
| tree | 16830f44a299a9216ccd4b300b081f5e4d166510 | |
| parent | 15f1172768c5b759359a9324b8110a4a490ac364 (diff) | |
qcacld-3.0: Avoid MC Thread WD bite during recovery
Do not panic for MC Thread watchdog timeouts when the driver is in
recovery mode to avoid impacting the recovery process.
Change-Id: I431045a77b1013eb98bb7ac6cb94090476177fe1
CRs-Fixed: 2066737
| -rw-r--r-- | core/cds/src/cds_sched.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c index fbe635a80a03..071aca7f7adf 100644 --- a/core/cds/src/cds_sched.c +++ b/core/cds/src/cds_sched.c @@ -608,6 +608,9 @@ static inline void cds_mc_thread_watchdog_warn(uint16_t msg_type_id) static void cds_mc_thread_watchdog_bite(void *arg) { cds_mc_thread_watchdog_warn(*(uint16_t *)arg); + if (cds_is_driver_recovering()) + return; + QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, "%s: Going down for MC Thread Watchdog Bite!", __func__); QDF_BUG(0); |
