OSDN Git Service

Reset pairing state to idle only for the current device
authorSrinu Jella <sjella@codeaurora.org>
Thu, 13 Nov 2014 11:52:28 +0000 (17:22 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 2 Jun 2015 07:33:41 +0000 (00:33 -0700)
commite11f228d1a18486cd00c36487812a763487a236f
tree431bccee88ea74bd2b4786b66760a518ff2c8131
parenta9130e07646835a8550611bed32138ed79385a38
Reset pairing state to idle only for the current device

Reset the pair state during auth complete for the BD_ADDR of the pairing
device only. The authentication complete event may come for profile level
authetication also. In such cases, if device already in paired state,
there is no need to reset the pairing state.

Change-Id: Id0ef9127895177527a6d4559ad873aa1c62a56bb
stack/btm/btm_sec.c