Bluetooth: Fix mgmt_pair_device imediate error responses
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Nov 2011 22:07:35 +0000 (00:07 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 17:59:49 +0000 (15:59 -0200)
When possible cmd_complete should be returned instead of cmd_status
since it contains the remote address (this helps user-space track what
exactly failed).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c

Simple merge