summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2012-09-07 23:07:53 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:09:20 -0700
commit9f1ab7af88fe9858c3c90eef44b0cc62b98c264e (patch)
treebfd65d9b25ef6054d37d073bc9f545bdda17ab79 /drivers/bluetooth
parent794fa47369dbc7670cef5dc6c3d9057ccc0797a6 (diff)
unknown changes from android-tegra-nv-3.4
Rebase-Id: R940fad74c7e91ef3d1d3d589a48064ccb7335541
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_ldisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index bc68a440d432..f7f7106c4758 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -327,12 +327,12 @@ static void hci_uart_tty_close(struct tty_struct *tty)
hci_uart_close(hdev);
if (test_and_clear_bit(HCI_UART_PROTO_SET, &hu->flags)) {
+ hu->proto->close(hu);
if (hdev) {
if (test_bit(HCI_UART_REGISTERED, &hu->flags))
hci_unregister_dev(hdev);
hci_free_dev(hdev);
}
- hu->proto->close(hu);
}
kfree(hu);