From 07992021c7207e39b2785c0f7e054fd3d666477b Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Thu, 30 Nov 2017 12:15:46 +0800 Subject: [PATCH] qcacmn: Do sanity check of requester ID If the requester id is 0 or other invalid values, the function scm_scan_get_requester_event_handler will get unexpected handler. Change-Id: I505e2e1a1bdc9cec57aaa0c28abadf28d228ba5b CRs-Fixed: 2147555 --- core/src/wlan_p2p_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/wlan_p2p_main.h b/core/src/wlan_p2p_main.h index 95aa3f0094b8..c1b60d05b13f 100644 --- a/core/src/wlan_p2p_main.h +++ b/core/src/wlan_p2p_main.h @@ -173,7 +173,7 @@ struct p2p_soc_priv_obj { qdf_list_t roc_q; qdf_list_t tx_q_roc; qdf_list_t tx_q_ack; - uint16_t scan_req_id; + wlan_scan_requester scan_req_id; struct p2p_start_param *start_param; qdf_event_t cancel_roc_done; qdf_runtime_lock_t roc_runtime_lock;