From 067b9e668c2a4f03a8320eb363944714e53b8fc6 Mon Sep 17 00:00:00 2001 From: Vignesh Viswanathan Date: Wed, 11 Apr 2018 19:31:46 +0530 Subject: [PATCH] qcacld-3.0: Post LFR2 Candidate found indication to Scan Queue Post the LFR2 Candidate found indication to low priority scan queue instead of SME queue to maintain order with beacon/probe frames from Scan queue. Change-Id: I5e8a6247a7d5200371d776bce3436104a5ba2df2 CRs-Fixed: 2226234 --- core/wma/src/wma_scan_roam.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c index d2aadc1feed6b..f31c505e59805 100644 --- a/core/wma/src/wma_scan_roam.c +++ b/core/wma/src/wma_scan_roam.c @@ -1,9 +1,6 @@ /* * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. * - * Previously licensed under the ISC license by Qualcomm Atheros, Inc. - * - * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all @@ -19,12 +16,6 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* - * This file was originally distributed by Qualcomm Atheros, Inc. - * under proprietary terms before Copyright ownership was assigned - * to the Linux Foundation. - */ - /** * DOC: wma_scan_roam.c * This file contains functions related to scan and @@ -5372,10 +5363,11 @@ void wma_roam_better_ap_handler(tp_wma_handle wma, uint32_t vdev_id) cds_msg.type = eWNI_SME_CANDIDATE_FOUND_IND; cds_msg.bodyptr = candidate_ind; + cds_msg.callback = sme_mc_process_handler; QDF_TRACE(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_INFO, FL("posting candidate ind to SME")); - if (QDF_STATUS_SUCCESS != scheduler_post_msg(QDF_MODULE_ID_SME, + if (QDF_STATUS_SUCCESS != scheduler_post_msg(QDF_MODULE_ID_SCAN, &cds_msg)) { qdf_mem_free(candidate_ind); QDF_TRACE(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_ERROR,