Bluetooth: Add status parameter to mgmt_disconnect response
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Nov 2011 13:54:39 +0000 (15:54 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 10 Nov 2011 20:05:41 +0000 (18:05 -0200)
commit37d9ef76c26092098e8fbd3fd540b7ac2181e6bf
treef46e360fc4d8b9d0a3e07b5fcf111d2be297fd8d
parenta8a1d19e9d00e2ec6f28b89133137390b1d293bd
Bluetooth: Add status parameter to mgmt_disconnect response

Since disconnecting may fail the status needs to be communicated to user
space. This also updates the implementation to match the latest mgmt API
specification.

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