فهرست منبع

qca-wifi: Convert target pdev id to host pdev id

In the response event for multi-vdev restart request, target pdev id
needs to be converted to host pdev id since pdev id mapping can change
based on HW mode and primary interface when dynamic HW mode feature is
used.
When feature is not used, regular conversion will be applied.

CRs-fixed:2631763

Change-Id: I5f0ce37ca2d3f138c25fa6e84f00da222ae72222
Manoj Ekbote 5 سال پیش
والد
کامیت
b31db0ed49
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      wmi/src/wmi_unified_ap_tlv.c

+ 4 - 1
wmi/src/wmi_unified_ap_tlv.c

@@ -2534,7 +2534,10 @@ static QDF_STATUS extract_multi_vdev_restart_resp_event_tlv(
 		return QDF_STATUS_E_INVAL;
 		return QDF_STATUS_E_INVAL;
 	}
 	}
 
 
-	param->pdev_id = ev->pdev_id;
+
+	param->pdev_id = wmi_hdl->ops->convert_target_pdev_id_to_host(
+								wmi_hdl,
+								ev->pdev_id);
 	param->status = ev->status;
 	param->status = ev->status;
 
 
 	if (!param_buf->num_vdev_ids_bitmap)
 	if (!param_buf->num_vdev_ids_bitmap)