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)
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>

No differences found