From 88f39efbd93326829e9601a1baf941e41fddef84 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Mon, 9 Dec 2019 12:27:01 +0530 Subject: [PATCH] qcacmn: Get vdev_id from NAN enable response event Firmware sends vdev id allocated for NAN vdev as part of NAN enable response. Get the same and use it for further operations Change-Id: I2e1e0dbab160904e12efc53f83203e4e153d099d CRs-Fixed: 2592017 --- wmi/src/wmi_unified_nan_tlv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wmi/src/wmi_unified_nan_tlv.c b/wmi/src/wmi_unified_nan_tlv.c index be6cbe87f4dc..1eb6c79bfd3a 100644 --- a/wmi/src/wmi_unified_nan_tlv.c +++ b/wmi/src/wmi_unified_nan_tlv.c @@ -90,6 +90,7 @@ extract_nan_event_rsp_tlv(wmi_unified_t wmi_handle, void *evt_buf, evt_params->evt_type = nan_event_id_enable_rsp; evt_params->mac_id = nan_evt_info->mac_id; evt_params->is_nan_enable_success = (nan_evt_info->status == 0); + evt_params->vdev_id = nan_evt_info->vdev_id; break; case NAN_MSG_ID_DISABLE_IND: evt_params->evt_type = nan_event_id_disable_ind;