• spiiroin's avatar
    [worker] Stop mtp daemon on mode switch. JB#43781 · 91244cd7
    spiiroin authored
    If entry to mtp mode gets aborted due to cable disconnect, it is possible
    that mtp daemon has already been started but it does not yet show up when
    probing. This can lead to leaving stray/defunct mtp daemon instances
    behind - which then can cause attempt to activate mtp mode after reconnect
    to fail.
    
    When leaving mode, stop mtp daemon if it seems to be running or we have
    made an attempt to start it.
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    91244cd7
Name
Last commit
Last update
config Loading commit data...
debian Loading commit data...
docs Loading commit data...
openembedded Loading commit data...
rpm Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
utils Loading commit data...
.depend Loading commit data...
Copyright Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.custom Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
config-static.h Loading commit data...
configure.ac Loading commit data...
depend_filter.py Loading commit data...
usb-moded.ini Loading commit data...
usb_moded.pc.in Loading commit data...