summaryrefslogtreecommitdiff
path: root/src/device-flags.h
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2014-08-13 16:48:59 +0200
committerLinus Walleij <triad@df.lth.se>2014-08-13 16:52:36 +0200
commit729f5d388d6dde38a9607a2fc340888bb9824272 (patch)
tree62ba70970d138229715b27d5c2b24e63c337ec35 /src/device-flags.h
parentf76438e1129b5193f193b44b92adf54eb1062410 (diff)
downloadlibmtp-729f5d388d6dde38a9607a2fc340888bb9824272.tar.gz
Several reporters claim Android devices often need a forced
reset on close. Let's try this thing then. Signed-off-by: Linus Walleij <triad@df.lth.se>
Diffstat (limited to 'src/device-flags.h')
-rw-r--r--src/device-flags.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/device-flags.h b/src/device-flags.h
index b4780ea..abb438a 100644
--- a/src/device-flags.h
+++ b/src/device-flags.h
@@ -295,7 +295,7 @@
(DEVICE_FLAG_UNLOAD_DRIVER | \
DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \
DEVICE_FLAG_UNIQUE_FILENAMES | \
- DEVICE_FLAG_FORCE_RESET_ON_CLOSE )
+ DEVICE_FLAG_FORCE_RESET_ON_CLOSE)
/**
* All these bug flags need to be set on Android devices,
* they claim to support MTP operations they actually
@@ -308,7 +308,8 @@
DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | \
DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \
DEVICE_FLAG_UNLOAD_DRIVER | \
- DEVICE_FLAG_LONG_TIMEOUT )
+ DEVICE_FLAG_LONG_TIMEOUT | \
+ DEVICE_FLAG_FORCE_RESET_ON_CLOSE)
/**
* All these bug flags appear on a number of SonyEricsson
* devices including Android devices not using the stock
@@ -326,4 +327,4 @@
#define DEVICE_FLAGS_ARICENT_BUGS \
(DEVICE_FLAG_IGNORE_HEADER_ERRORS | \
DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \
- DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST )
+ DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST)