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
This commit is contained in:
parent
05f1f2dc2b
commit
a4efa2af85
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user