Don't fall-back into AP mode after connecting to WiFi network
Probably the code was written with assumption that
On*PropertyChangeRegistration will be called asynchronously.
These function access data which will be initialized immediately after
This is not true with the current state of the code. Functions are being
called from RegisterPropertyChangedSignalHandler before data is read.
This effectively disabled most of OnPropertyChange logic. Probably the
logic of DBUS proxies was changed.
This fix initializes required data before calling
Also fixed call to Init(), but seems does nothing important.
2 files changed