浏览代码

qcacmn: Convert pdev_id from target to host

Convert pdev_id from target to host before passing
to ol layer to print correct noise floor value.

Change-Id: I2d138f19901ca5d654631bc2eca76a757dc46628
Keyur Parekh 7 年之前
父节点
当前提交
9ddfbc7ed4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      wmi/src/wmi_unified_tlv.c

+ 2 - 1
wmi/src/wmi_unified_tlv.c

@@ -20828,7 +20828,8 @@ extract_nfcal_power_ev_param_tlv(wmi_unified_t wmi_handle,
 		ch_freqnum++;
 	}
 
-	param->pdev_id = event->pdev_id;
+	param->pdev_id = wmi_handle->ops->
+		convert_pdev_id_target_to_host(event->pdev_id);
 
 	return QDF_STATUS_SUCCESS;
 }