diff options
| author | Rajeev Kumar <rajekuma@codeaurora.org> | 2017-11-02 10:33:46 -0700 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-11-07 15:32:27 -0800 |
| commit | 7a5507ea0a5bb12c6a58fd55795ae1c0c2e3d255 (patch) | |
| tree | 84e668119ea547574ce2c360cc8af4db134ae871 | |
| parent | de6dafc2c80e6036f1f2ff439665c4ce150461e3 (diff) | |
qcacld-3.0: Add QDF_ASSERT in case of SME command queue timeout
SME active command queue timeout is ignored in case driver is
in bad state or recovering. Add QDF assert to highlight this
error scenario.
Change-Id: I44ba0b0c6c887b223d90d751dd7e94892d62421c
CRs-Fixed: 2137155
| -rw-r--r-- | core/sme/src/common/sme_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index de7fcc9da50c..d67d1dee614a 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -12262,6 +12262,8 @@ void active_list_cmd_timeout_handle(void *userData) !(cds_is_load_or_unload_in_progress() || cds_is_driver_recovering() || cds_is_driver_in_bad_state())) QDF_BUG(0); + else + QDF_ASSERT(0); } } |
