commit | 674b27abc31a9a06aaf661332c012eb7a33219ee | [log] [tgz] |
---|---|---|
author | Nate Jiang <qiangjiang@google.com> | Wed Aug 26 16:38:19 2020 -0700 |
committer | Nate Jiang <qiangjiang@google.com> | Wed Aug 26 16:38:19 2020 -0700 |
tree | 08d953fb9a303862a1c5112ccd0fd6d380d14d3b | |
parent | e48f75971309a19106f2d640687547264c2e08ab [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