|
@@ -5358,7 +5358,7 @@ int adm_get_source_tracking(int port_id, int copp_idx,
|
|
|
*/
|
|
|
param_hdr.param_size =
|
|
|
sizeof(struct adm_param_fluence_sourcetracking_t) +
|
|
|
- sizeof(union param_hdrs);
|
|
|
+ sizeof(struct param_hdr_v3);
|
|
|
|
|
|
/*
|
|
|
* Retrieving parameters out of band, so no need to provide a buffer for
|
|
@@ -5387,7 +5387,7 @@ int adm_get_source_tracking(int port_id, int copp_idx,
|
|
|
source_tracking_params =
|
|
|
(struct adm_param_fluence_sourcetracking_t
|
|
|
*) (this_adm.sourceTrackingData.memmap.kvaddr +
|
|
|
- sizeof(struct param_hdr_v1));
|
|
|
+ sizeof(struct param_hdr_v3));
|
|
|
for (i = 0; i < MAX_SECTORS; i++) {
|
|
|
sourceTrackingData->vad[i] = source_tracking_params->vad[i];
|
|
|
pr_debug("%s: vad[%d] = %d\n",
|