ostctools: Correct argument order to get_descriptor

This corrects the argument order, which was changed back in
00629c861c, but not on this place. Whups.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
Anton Lundin 2016-12-29 16:03:26 +01:00 committed by Subsurface
parent f3cf9525de
commit d11dfd2f45

View file

@ -17,7 +17,7 @@ static int ostc_prepare_data(int data_model, dc_family_t dc_fam, device_data_t *
dev_data->device = NULL;
dev_data->context = NULL;
data_descriptor = get_descriptor(data_model, dc_fam);
data_descriptor = get_descriptor(dc_fam, data_model);
if (data_descriptor) {
dev_data->descriptor = data_descriptor;
dev_data->vendor = copy_string(data_descriptor->vendor);