aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r--net/bluetooth/hci_conn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c
index 41351ba692e9..6f22533e7656 100644
--- a/net/bluetooth/hci_conn.c
+++ b/net/bluetooth/hci_conn.c
@@ -170,11 +170,13 @@ static void hci_conn_timeout(unsigned long arg)
170 170
171 switch (conn->state) { 171 switch (conn->state) {
172 case BT_CONNECT: 172 case BT_CONNECT:
173 case BT_CONNECT2:
173 if (conn->type == ACL_LINK) 174 if (conn->type == ACL_LINK)
174 hci_acl_connect_cancel(conn); 175 hci_acl_connect_cancel(conn);
175 else 176 else
176 hci_acl_disconn(conn, 0x13); 177 hci_acl_disconn(conn, 0x13);
177 break; 178 break;
179 case BT_CONFIG:
178 case BT_CONNECTED: 180 case BT_CONNECTED:
179 hci_acl_disconn(conn, 0x13); 181 hci_acl_disconn(conn, 0x13);
180 break; 182 break;