summaryrefslogtreecommitdiff
path: root/src/ptp.c
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2012-04-12 08:49:33 +0200
committerLinus Walleij <triad@df.lth.se>2012-04-12 08:49:33 +0200
commit6d7ea637b57993970b3fe9a841820716381e4239 (patch)
tree06229082939ae53d6f0e9d5dba6cf2a37e314326 /src/ptp.c
parent1e68f96e076f6e15165a175d277f7a4851a08675 (diff)
downloadlibmtp-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ptp.c b/src/ptp.c
index e2de0ec..8661d85 100644
--- a/src/ptp.c
+++ b/src/ptp.c
@@ -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;