From 75c8d796d9cc78e748ae5582330d7b9e50e691e7 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Tue, 19 Dec 2017 18:31:04 +0530 Subject: [PATCH] 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 --- core/sme/src/common/sme_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 18a7b6c45857..b2fd9f55341b 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -3343,7 +3343,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);