commit | 84c63f1c985a30173fdf419167a3b85ba77a6d5b | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Sat Feb 01 16:53:15 2014 -0800 |
committer | Sharvil Nanavati <sharvil@google.com> | Mon Feb 03 22:18:11 2014 -0800 |
tree | 9a3627bd56d40116510e9dd4155c9c1ea1440c6b | |
parent | a94ee49440718e45147b6b6c26b44dd81d11e1c9 [diff] |
Fix bug where btpan_control_state_callback is called with invalid args. When there's a connection error, btpan_control_state_callback sometimes gets called back with incorrect local_role and remote_role values. These values are simply not set (uninitialized) on one of the error handling codepaths. http://b/12854810 Change-Id: Ie2d9d252f185fca48ee6e2bfb697039d0ac10b43