commit | 6fdf658c9a0e51e6663f2769f6d310c2843a862b | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon Jun 13 15:37:35 2011 +0300 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Mon Jun 13 14:28:52 2011 -0300 |
tree | 07089bfcc9473b7ea89af3f10086cde76802ca1a | |
parent | 7f4f0572df6c8eaa6a587bc212b0806ff37380dd [diff] |
Bluetooth: Fix L2CAP security check With older userspace versions (using hciops) it might not have the key type to check if the key has sufficient security for any security level so it is necessary to check the return of hci_conn_auth to make sure the connection is authenticated Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Acked-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>