diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2011-11-07 14:20:25 +0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-08 12:53:11 -0200 |
commit | 9f5a0d7bf079e9e26771ad13ff1c2cb3adf80963 (patch) | |
tree | e82724f7e47c226831c757b2b78c8bef98653d50 /net/bluetooth/hci_conn.c | |
parent | 36f7fc7e9ac72507ab7bf6caf77ad252c12ab37e (diff) | |
download | op-kernel-dev-9f5a0d7bf079e9e26771ad13ff1c2cb3adf80963.zip op-kernel-dev-9f5a0d7bf079e9e26771ad13ff1c2cb3adf80963.tar.gz |
Bluetooth: Define HCI reasons instead of magic number
Use HCI error reasons instead of magic numbers.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index e545376..ac94367 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -820,7 +820,7 @@ void hci_conn_hash_flush(struct hci_dev *hdev) c->state = BT_CLOSED; - hci_proto_disconn_cfm(c, 0x16); + hci_proto_disconn_cfm(c, HCI_ERROR_LOCAL_HOST_TERM); hci_conn_del(c); } } |