From 6097caa167f1f0e2db7a9f05902cacc8e4eadb5f Mon Sep 17 00:00:00 2001 From: Om Prakash Tripathi Date: Fri, 3 Nov 2017 16:11:11 +0530 Subject: [PATCH] qcacmn: Add support for wide band scan Add support for 40 MHz or wider channel bandwidth scan Change-Id: I72f3cf42e6dc957ef56842d0c333c62169cb6d68 CRs-Fixed: 2139415 --- core/src/wlan_p2p_roc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/wlan_p2p_roc.c b/core/src/wlan_p2p_roc.c index 1fa37ee66885..ae71a7765124 100644 --- a/core/src/wlan_p2p_roc.c +++ b/core/src/wlan_p2p_roc.c @@ -102,8 +102,8 @@ static QDF_STATUS p2p_scan_start(struct p2p_roc_context *roc_ctx) req->vdev = vdev; req->scan_req.scan_id = roc_ctx->scan_id; req->scan_req.scan_req_id = p2p_soc_obj->scan_req_id; - req->scan_req.num_chan = 1; - req->scan_req.chan_list[0] = wlan_chan_to_freq(roc_ctx->chan); + req->scan_req.chan_list.num_chan = 1; + req->scan_req.chan_list.chan[0].freq = wlan_chan_to_freq(roc_ctx->chan); req->scan_req.dwell_time_passive = roc_ctx->duration; req->scan_req.dwell_time_active = 0; req->scan_req.scan_priority = SCAN_PRIORITY_HIGH;