From a4efa2af855d929bf3913c8aecdf544f8cbcb051 Mon Sep 17 00:00:00 2001 From: sheenam monga Date: Thu, 9 May 2019 11:55:36 +0530 Subject: [PATCH] qcacld-3.0: Add support to pass scan priority in cfg initiated scan Add support to pass scan priority to override the def scan priority for cfg initiated scan. Change-Id: I454c2667d1814d96fbb611e6ecbb90d4154ec9b5 CRs-Fixed: 2449730 --- core/hdd/src/wlan_hdd_scan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c index 5958fedb623b..857f45411a4e 100644 --- a/core/hdd/src/wlan_hdd_scan.c +++ b/core/hdd/src/wlan_hdd_scan.c @@ -681,6 +681,8 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy, !qdf_mem_cmp(&request->ssids[0], "DIRECT-", 7)) ucfg_p2p_status_scan(vdev); + /* set priority as SCAN_PRIORITY_COUNT to use default scan priority */ + params.priority = SCAN_PRIORITY_COUNT; status = wlan_cfg80211_scan(vdev, request, ¶ms); hdd_objmgr_put_vdev(vdev); error: