Bluetooth: Add missing error handling for Set Connectable
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 14 Oct 2013 13:20:05 +0000 (16:20 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Oct 2013 13:48:08 +0000 (06:48 -0700)
commit37438c1f7f6d26e1532d6bfc588c958b7dfae668
tree789d6e3fa4539c85bdc4ac35129b2434d8467aeb
parentd7b856f9380d95a9d663180701da904123c035b8
Bluetooth: Add missing error handling for Set Connectable

If the HCI commands related to the Set Connectable command fail we will
get a non-zero status in the request completion callback. In such a case
we must respond with the appropriate command status message to user space.

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