mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 04:42:22 -05:00
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
This commit is contained in:
parent
48467505c0
commit
7766dffe94
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue