libweave: Fix wifi bootstrapping
We mistakenly go out of bootstrapping mode if any network change
is detected (even "transitions" like offline -> offline).
We only need to go from bootstrapping mode into monitoring when
network connection detects that there is network.
BUG=brillo:1233
TEST=`FEATURES=test emerge-link libweave`
Change-Id: I7afc715152fc3a2be5a53926c4e3b71c0d22cb79
Reviewed-on: https://chromium-review.googlesource.com/293023
Reviewed-by: Vitaly Buka <vitalybuka@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
Tested-by: Vitaly Buka <vitalybuka@chromium.org>
1 file changed
tree: 86c99de067db939d32e26c5c0e4101635867c407
- libweave/