OSDN Git Service

Fix stack crash after bonding
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 22 Feb 2017 18:34:45 +0000 (10:34 -0800)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 22 Feb 2017 18:46:58 +0000 (18:46 +0000)
commit71a58bdcf0ccdc4f696441a04b5970e2335408ec
tree414c55eab4e3a1e6fdd02f03237667da8ae6240d
parentbd93e0a919823f5682f7b80aeafb68c44b250141
Fix stack crash after bonding

delayed_auth_timer_ent was freed and re-created during it's execution.
Instead of re-creating, just cancel the timers in smp_cb_cleanup.

Test: manual, bond with HID device on linux
Bug: 34083285
Change-Id: Ie569666846db5dcb2466cff00665b2c1490d7d10
stack/smp/smp_utils.cc