Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7490c6c2 authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Johan Hedberg
Browse files

Bluetooth: Remove magic disconnect reason



The macro gives a better idea of the what the error really is.

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent d060991f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2307,7 +2307,7 @@ static void hci_link_tx_to(struct hci_dev *hdev, __u8 type)
		if (c->type == type && c->sent) {
			BT_ERR("%s killing stalled connection %s",
			       hdev->name, batostr(&c->dst));
			hci_acl_disconn(c, 0x13);
			hci_acl_disconn(c, HCI_ERROR_REMOTE_USER_TERM);
		}
	}