commit | 19f8def031bfa50c579149b200bfeeb919727b27 | [log] [tgz] |
---|---|---|
author | Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> | Tue May 31 15:49:25 2011 +0200 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Wed Jun 08 16:58:18 2011 -0300 |
tree | 8f1fded6804d6e5d1537938f29b5e2c6f71e19fe | |
parent | 3581508571b513ed2e66d71f9708d6be907460fd [diff] |
Bluetooth: Fix auth_complete_evt for legacy units Legacy devices don't re-authenticate the link properly if a link key already exists. Thus, don't update sec_level for this case even if hci_auth_complete_evt indicates success. Otherwise the sec_level will not reflect a real security on the link. Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>