Ver Fonte

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
Srinivas Dasari há 5 anos atrás
pai
commit
88f39efbd9
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      wmi/src/wmi_unified_nan_tlv.c

+ 1 - 0
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;