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)
commit5d667ef6e01be22343b07a1f5d5a976962e3103e
treec59a89364182edfe41322ba2627697d7dc266533
parent70f36507d0c3277e4a5424ca0c6c2a002ae42768
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