OSDN Git Service

Do not crash on netlink manager start error
authorNingyuan Wang <nywang@google.com>
Wed, 19 Jul 2017 22:30:37 +0000 (15:30 -0700)
committerNingyuan Wang <nywang@google.com>
Wed, 19 Jul 2017 22:48:53 +0000 (22:48 +0000)
commitaf01f9f2cd9f642b77699ea82a753e5d0895b7ac
tree6fba99a12cee8a1d3f776698119a62ae768fc10d
parentcef3c972fb2ac526389b625e9d257df4cd0eb258
Do not crash on netlink manager start error

For some device(emulator) kernel netlink interface is not configured.
NetlinkManager.Start() will fail and crash wificond.
Wificond is included in base.mk so it is not feasible to remove
it from emulator image.
This patch changes the error level from FATAL to ERROR to avoid
crashing.

Bug: 63837784
Test: compile, manual test wificond works
Change-Id: I0cf3f6a1ea73e455f8362870e4c96c76b59dd41c
main.cpp