]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita45378e5c5be7beb1ccd3a8a2eda18dd07df6800
tree789d6e3fa4539c85bdc4ac35129b2434d8467aeb
parent5d2b9497955e93fab17d39466f43d2da5faf3fa3
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