OSDN Git Service

wificond: Mark scanner impl instance invalid
authorRoshan Pius <rpius@google.com>
Tue, 19 Jun 2018 15:12:29 +0000 (08:12 -0700)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Wed, 13 Mar 2019 20:14:38 +0000 (20:14 +0000)
commit94e317da4637ed5eda59d157a99bb9e4797d21ff
treea84af344351e5502ef726b4ffaae7f50a94e5593
parent755433868cb19017800e2b86b490a1bc50785317
wificond: Mark scanner impl instance invalid

The call to ScannerImpl.invalidate() does not reset the |valid_| field
currently.  This leads to unexpected behavior when any calls are made
on that instance after invoking invalidate().

Bug: 110378816
Bug: 121327323
Test: Repeatedly toggled wifi state and ensured we connected back.
Change-Id: I8da3e1d9284ec9e27f8a0980a669611369810c34
(cherry picked from commit 7b332f6c5f43d455e948fab6b705b9985b061348)
scanning/scanner_impl.cpp