hci_conn.c (f17d858ed0a48270db4368d8cf370e3839ee6f4f) hci_conn.c (2064ee332e4c1b7495cf68b84355c213d8fe71fd)
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (c) 2000-2001, 2010, Code Aurora Forum. All rights reserved.
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 715 unchanged lines hidden (view full) ---

724
725 conn = hci_lookup_le_connect(hdev);
726
727 if (!status) {
728 hci_connect_le_scan_cleanup(conn);
729 goto done;
730 }
731
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (c) 2000-2001, 2010, Code Aurora Forum. All rights reserved.
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 715 unchanged lines hidden (view full) ---

724
725 conn = hci_lookup_le_connect(hdev);
726
727 if (!status) {
728 hci_connect_le_scan_cleanup(conn);
729 goto done;
730 }
731
732 BT_ERR("HCI request failed to create LE connection: status 0x%2.2x",
733 status);
732 bt_dev_err(hdev, "request failed to create LE connection: "
733 "status 0x%2.2x", status);
734
735 if (!conn)
736 goto done;
737
738 hci_le_conn_failed(conn, status);
739
740done:
741 hci_dev_unlock(hdev);

--- 841 unchanged lines hidden ---
734
735 if (!conn)
736 goto done;
737
738 hci_le_conn_failed(conn, status);
739
740done:
741 hci_dev_unlock(hdev);

--- 841 unchanged lines hidden ---