discover/device-handler: Be ready for user events earlier
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 15 Aug 2017 01:08:58 +0000 (11:08 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 15 Aug 2017 03:38:17 +0000 (13:38 +1000)
commit675eb751ff84e80f286da808daa931a84baf9302
treed031580f676692f65de47a54ff1841cf4e307d7e
parent5b3dd56d982629349e612b9e984e65dec09b438f
discover/device-handler: Be ready for user events earlier

Actions performed in network and udev init may result in pb-event
callbacks (such as from udhcpc or pb-plugin), so make sure the user
event interface is set up beforehand.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c