]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix pair device command reply if adapter is powered off
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 18 Jan 2013 11:48:07 +0000 (12:48 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 23 Jan 2013 03:47:30 +0000 (01:47 -0200)
commit493f27ed12821dc5bbd5b25d84a77e212129ef19
tree1071d169b05b4f9c35ccb7b9542a79aad9f46fd9
parent4df9b4d69797afb60e3c8fd7db3ab407e4b00cd5
Bluetooth: Fix pair device command reply if adapter is powered off

According to Bluetooth Management API specification Pair Device Command
should generate command complete event on both success and failure.
This fix replying with command status (which lacks address info) when
adapter is powered off.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c