patch-2.4.26 linux-2.4.26/net/bluetooth/rfcomm/core.c
Next file: linux-2.4.26/net/bluetooth/rfcomm/tty.c
Previous file: linux-2.4.26/net/bluetooth/l2cap.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2004-04-14 06:05:41.000000000 -0700
- Orig file:
linux-2.4.25/net/bluetooth/rfcomm/core.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.25/net/bluetooth/rfcomm/core.c linux-2.4.26/net/bluetooth/rfcomm/core.c
@@ -1654,9 +1654,10 @@
nsock->sk->state_change = rfcomm_l2state_change;
s = rfcomm_session_add(nsock, BT_OPEN);
- if (s)
+ if (s) {
rfcomm_session_hold(s);
- else
+ rfcomm_schedule(RFCOMM_SCHED_RX);
+ } else
sock_release(nsock);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)