diff options
| author | Service qcabuildsw <qcabuildsw@localhost> | 2016-10-28 10:23:40 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-28 10:23:40 -0700 |
| commit | 1e0dc42d0e4e0934c37583b34cb737da89afb896 (patch) | |
| tree | 554fcd3020d5ec7719e00dfe2aee15cb6d0fcdb4 | |
| parent | 048ed036d04f6614a2a7be4f53374f0958c96e80 (diff) | |
| parent | d32281cbb54b304d9414d7e0559bba71838256f4 (diff) | |
Merge "qcacld-3.0: Fix sme active list timeout by tdls" into wlan-cld3.driver.lnx.1.1-dev
| -rw-r--r-- | core/sme/src/common/sme_api.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 877fa62cf63e..2b9b453c84b5 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -1017,6 +1017,15 @@ sme_process_cmd: pCommand->command); csr_ll_unlock(&pMac->sme.smeCmdActiveList); status = csr_tdls_process_cmd(pMac, pCommand); + if (!QDF_IS_STATUS_SUCCESS(status)) { + if (csr_ll_remove_entry(&pMac->sme.smeCmdActiveList, + &pCommand->Link, + LL_ACCESS_LOCK)) { + qdf_mem_zero(&pCommand->u.tdlsCmd, + sizeof(tTdlsCmd)); + csr_release_command(pMac, pCommand); + } + } break; #endif case e_sme_command_set_hw_mode: |
