diff options
author | Linus Walleij <triad@df.lth.se> | 2012-04-12 08:49:33 +0200 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2012-04-12 08:49:33 +0200 |
commit | 6d7ea637b57993970b3fe9a841820716381e4239 (patch) | |
tree | 06229082939ae53d6f0e9d5dba6cf2a37e314326 /src/ptp.c | |
parent | 1e68f96e076f6e15165a175d277f7a4851a08675 (diff) | |
download | libmtp-6d7ea637b57993970b3fe9a841820716381e4239.tar.gz |
Tentatively rename broken OI bug flag
Signed-off-by: Linus Walleij <triad@df.lth.se>
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; |