diff options
Diffstat (limited to 'src/ptp.c')
-rw-r--r-- | src/ptp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5403,7 +5403,7 @@ ptp_object_want (PTPParams *params, uint32_t handle, int want, PTPObject **retob /*Camera *camera = ((PTPData *)params->data)->camera;*/ /* If GetObjectInfo is broken, force GetPropList */ - if (params->device_flags & DEVICE_FLAG_BROKEN_GET_OBJECT_INFO) + if (params->device_flags & DEVICE_FLAG_PROPLIST_OVERRIDES_OI) want |= PTPOBJECT_MTPPROPLIST_LOADED; *retob = NULL; @@ -5469,7 +5469,7 @@ ptp_object_want (PTPParams *params, uint32_t handle, int want, PTPObject **retob ob->nrofmtpprops = nrofprops; /* Override the ObjectInfo data with data from properties */ - if (params->device_flags & DEVICE_FLAG_BROKEN_GET_OBJECT_INFO) { + if (params->device_flags & DEVICE_FLAG_PROPLIST_OVERRIDES_OI) { int i; MTPProperties *prop = ob->mtpprops; |