commit | b6aaecce75ee949b03da891a6a0c4ad382f7b4ee | [log] [tgz] |
---|---|---|
author | Jimmy Chen <jimmycmchen@google.com> | Wed Dec 11 17:45:58 2019 +0800 |
committer | Jimmy Chen <jimmycmchen@google.com> | Tue Dec 24 16:53:35 2019 +0800 |
tree | c1d1a7b19896d18ca3df54e2d34613850104a5b6 | |
parent | eee89435cb5f722da6a4298d9fa19144f5bcdf10 [diff] |
p2p: check p2p instance in all asynchronized callbacks If cancelConnect is not called, the scan retry callback would be called several times. If P2P is disabled in this period, these asynchronized callbacks would access de-initialized p2p instance and result in native crash. Bug: 141773120 Test: atest VtsHalWifiSupplicantP2pV1_2TargetTest Change-Id: Ifc1b397a6c48044b3ef10f110cd89186e2e27a8d