]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Bluetooth: Improve error handling in connect acl
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>
Wed, 11 Feb 2015 11:31:41 +0000 (12:31 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Feb 2015 04:19:59 +0000 (05:19 +0100)
commitc411110e1f13abd64886c8abdf6f31c10136969f
tree4bcfaddf25f3d3ed7c6762622dccf93d922becbc
parent152d386e111fed3fee5fe888f38b0ae73ea15400
Bluetooth: Improve error handling in connect acl

With this patch -EOPNOTSUPP will be returned by hci_connect_acl for LE
only controllers. If it is dual device with disabled BREDR -ECONNREFUSED
will be returned

Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_conn.c