summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimanshu Agarwal <himanaga@codeaurora.org>2017-12-19 18:31:04 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-12-20 01:07:35 -0800
commitc4d2153ab90d7c544623c0f2ffd3f510fa9da1c9 (patch)
tree971b51abdc606943641124dcd7b23a6922635162
parent94bc96338b782c00e7ecb652f16621d05cd6c71a (diff)
qcacld-3.0: Set high priority as false for stop bss sme command
When stop AP command is received from hostapd, all the stations are deauthenticated and then stop bss is called. But stop bss is called with high priority as true and so gets queued on the top of the list while del sta commands are queued at the tail as high priority is set to false for those. This leads to desynchronization as the commands are not serialized. Set high priority as false for stop bss sme command to serialize all the commands. Change-Id: I9c80032c418e05d3b5591bb3cfd70f8285f27fe8 CRs-Fixed: 2161257
-rw-r--r--core/sme/src/common/sme_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index ed3ff473b4c8..6a87c40dc9a6 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -4061,7 +4061,7 @@ QDF_STATUS sme_roam_stop_bss(tHalHandle hHal, uint8_t sessionId)
if (QDF_IS_STATUS_SUCCESS(status)) {
if (CSR_IS_SESSION_VALID(pMac, sessionId))
status = csr_roam_issue_stop_bss_cmd(pMac, sessionId,
- true);
+ false);
else
status = QDF_STATUS_E_INVAL;
sme_release_global_lock(&pMac->sme);