]> 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)
commitc130bf1ca08f2aa67e5d6c274a6993b573f595dc
treec59a89364182edfe41322ba2627697d7dc266533
parentbf8ae365b6212a98aa004c0bd342db0e7f1f4781
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