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);