OSDN Git Service

Do not return failure if scan results is empty
authorNingyuan Wang <nywang@google.com>
Thu, 2 Mar 2017 20:18:29 +0000 (12:18 -0800)
committerNingyuan Wang <nywang@google.com>
Thu, 2 Mar 2017 20:19:27 +0000 (12:19 -0800)
commitfc93f4ca225fdd42c2fe36dc6292cc97104e3c96
tree5c6d9c53411a149d2b39835310352b7a8061a492
parent58271c3933d3ecf01c9ff79fa77e48ec5be90bb9
Do not return failure if scan results is empty

It may happen if there is no AP in the environment.
In this case we only need to log instead of returning
error.

Bug: None
Test: compile, unit tests
Change-Id: I4187cc421db11c6fcc7e27e263865706cfb61abc
scanning/scan_utils.cpp