patch-2.4.27 linux-2.4.27/net/bluetooth/hci_event.c
Next file: linux-2.4.27/net/bluetooth/l2cap.c
Previous file: linux-2.4.27/net/bluetooth/bnep/core.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-08-07 16:26:06.743432615 -0700
- Orig file:
linux-2.4.26/net/bluetooth/hci_event.c
- Orig date:
2004-02-18 05:36:32.000000000 -0800
diff -urN linux-2.4.26/net/bluetooth/hci_event.c linux-2.4.27/net/bluetooth/hci_event.c
@@ -320,7 +320,7 @@
status, batostr(&cc->bdaddr), conn);
if (status) {
- if (conn) {
+ if (conn && conn->state == BT_CONNECT) {
conn->state = BT_CLOSED;
hci_proto_connect_cfm(conn, status);
hci_conn_del(conn);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)