qcacmn: Add pdev_id in Pdev AST reserve event

pdev_id is required to identify the pdev object on which this event is
recieved. Add pdev_id in the event extract API.

Change-Id: Ia910d42af6a9d6099da1b7781601b0320dff80ba
CRs-Fixed: 2003898
This commit is contained in:
Kiran Venkatappa
2017-02-08 14:57:16 +05:30
committed by qcabuildsw
parent 8e146df771
commit 5050aa8ac8
2 changed files with 6 additions and 5 deletions

View File

@@ -6360,12 +6360,13 @@ static QDF_STATUS extract_gpio_input_ev_param_non_tlv(wmi_unified_t wmi_handle,
*/
static QDF_STATUS extract_pdev_reserve_ast_ev_param_non_tlv(
wmi_unified_t wmi_handle,
void *evt_buf, uint32_t *result)
void *evt_buf, struct wmi_host_proxy_ast_reserve_param *param)
{
wmi_pdev_reserve_ast_entry_event *ev =
(wmi_pdev_reserve_ast_entry_event *) evt_buf;
*result = ev->result;
param->result = ev->result;
param->pdev_id = WMI_NON_TLV_DEFAULT_PDEV_ID;
return QDF_STATUS_SUCCESS;
}