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
This commit is contained in:
Keyur Parekh
2018-05-16 13:15:38 -07:00
committed by nshrivas
parent 43ebaa7182
commit 9ddfbc7ed4

View File

@@ -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;
}