Commit: 06be53208f7dcf78bc74bdb88614001f067c4b49
Parent: a4695fe19cca9b746cb4d34bfcce75ca35fcc3c9
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-10-21 11:05:28
Tree: d34fe005d025c8add729175fa10ab8495325de74

shared/att: Fix handling 'Insufficent Authentication' error respone >From Core Specification 4.2 Vol.3 Part C (page 375): When the link is not encrypted, the error code "Insufficient Authentication" does not indicate that MITM protection is required. When unauthenticated pairing has occurred and the link is currently encrypted, the error code "Insufficient Authentication" indicates that MITM protection is required. If LE Secure Connections authenticated pairing is required but LE legacy pairing has occurred and the link is currently encrypted, the service request shall be rejected with the error code "Insufficient Authentication".

Diffstat

M src/shared/att.c | 17 ++++++++++++- - - - -

1 files changed, 12 insertions(+), 5 deletions(-)

View Full Diff | Patch