From 7766dffe94cd27bd96ee23d5338e5f35d47ad836 Mon Sep 17 00:00:00 2001 From: Yeshwanth Sriram Guntuka Date: Thu, 18 Jan 2018 16:08:25 +0530 Subject: [PATCH] qcacmn: Move wma_get_buf_start_scan_cmd to ucfg_scan_update_params Move wma_get_buf_start_scan_cmd logic to common code in ucfg_scan_update_params. Change-Id: I4c9dcb48b4862ad10f64e260d87938251e270185 CRs-Fixed: 2180960 --- core/src/wlan_p2p_roc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/wlan_p2p_roc.c b/core/src/wlan_p2p_roc.c index 44ea9dac8953..d2d94d453d6c 100644 --- a/core/src/wlan_p2p_roc.c +++ b/core/src/wlan_p2p_roc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -101,6 +101,7 @@ static QDF_STATUS p2p_scan_start(struct p2p_roc_context *roc_ctx) roc_ctx->scan_id = ucfg_scan_get_scan_id(p2p_soc_obj->soc); req->vdev = vdev; req->scan_req.scan_id = roc_ctx->scan_id; + req->scan_req.p2p_scan_type = SCAN_P2P_LISTEN; req->scan_req.scan_req_id = p2p_soc_obj->scan_req_id; req->scan_req.chan_list.num_chan = 1; req->scan_req.chan_list.chan[0].freq = wlan_chan_to_freq(roc_ctx->chan);