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
This commit is contained in:
Vignesh Viswanathan 2018-04-11 19:31:46 +05:30 committed by nshrivas
parent 48b7ed9b32
commit 067b9e668c

View File

@ -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,