diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-10-31 17:46:26 +0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-11-02 02:27:05 +0400 |
commit | ba6fc31727c07e11a7b700a9c17e91ab4bed2f4c (patch) | |
tree | ec7d8988ccb8f29aabf93dd91917089d61a25585 /net/bluetooth | |
parent | 612dfce9fbd2e564bcd656d4b7f7fa7d72966c47 (diff) | |
download | linux-ba6fc31727c07e11a7b700a9c17e91ab4bed2f4c.tar.xz |
Bluetooth: trivial: Fix braces style and remove empty line
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index d1728af8e84f..c2fbaf9c6ac8 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -6252,9 +6252,9 @@ void l2cap_connect_cfm(struct hci_conn *hcon, u8 status) conn = l2cap_conn_add(hcon, status); if (conn) l2cap_conn_ready(conn); - } else + } else { l2cap_conn_del(hcon, bt_to_errno(status)); - + } } int l2cap_disconn_ind(struct hci_conn *hcon) |