device: only clear the activate request when the device disconnects
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 23 Mar 2016 13:51:34 +0000 (14:51 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Sat, 26 Mar 2016 10:29:41 +0000 (11:29 +0100)
commit2a45d30cc535e1809ab730bb28fd0b571fcd7610
tree14643fbc080ee82e0cd6df415d1e412ce25565ef
parent621975949024520c71215fe17c7d2ffc86e4efbd
device: only clear the activate request when the device disconnects

If it's traversing from unavailable to disconnected (e.g. realizing
of the device was delayed because it was awaiting the parent connection),
then we just want to progress the activation.
src/devices/nm-device.c