]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove redundant check for ACL_LINK
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 12 Jun 2015 10:04:47 +0000 (13:04 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Jun 2015 10:07:20 +0000 (12:07 +0200)
commitadd5f244cd4f18386b4f8d293d469e7cf94c6992
treec59a89364182edfe41322ba2627697d7dc266533
parent40acdf8779f5b4c2c1fc6501f76d8dc0dd7310ce
Bluetooth: Remove redundant check for ACL_LINK

The encryption key size is read only for BR/EDR (ACL_LINK) connections
so there's no need to check for it in the read_enc_key_size_complete()
callback.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c