diff options
author | Nate Jiang <qiangjiang@google.com> | 2020-08-26 16:38:19 -0700 |
---|---|---|
committer | Eric Arseneau <earseneau@google.com> | 2020-11-12 13:58:08 -0800 |
commit | d3407d7a989b3187d484a1400d742b14503f02f8 (patch) | |
tree | 6a998d50b6552a51c032e8a0552669c7d01767a1 /camera/common/1.0/default/CameraModule.cpp | |
parent | 51c47fa96fdb74c1947fbcaf65f2e7adea8f92ce (diff) |
WifiNanIface: Validate interface before cleanup.
Calling invalidate() API twice would lead to fatal error. This
commit is to check if interface isValid() before doing other operations
in invalidate() API.
Bug: 166412651
Test: atest VtsHalWifiNanV1_4TargetTest WifiNanIfaceTest
Change-Id: Ia3fc48bb3d98660705bba9a32b7a5845ff7af79f
(cherry picked from commit 674b27abc31a9a06aaf661332c012eb7a33219ee)
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions