Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31967
b: refs/heads/master
c: 300b939
h: refs/heads/master
i:
  31965: 35e45ad
  31963: 1ff0a96
  31959: 3c06bdb
  31951: d901d28
  31935: 6e96dad
v: v3
  • Loading branch information
Marcel Holtmann authored and David S. Miller committed Jul 4, 2006
1 parent 4caba0a commit c5caf26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c2660b00fae0575dd4ce5c7b6bf30762b632045
refs/heads/master: 300b93974ff64f1bef1ac8294547c573954f0300
5 changes: 5 additions & 0 deletions trunk/net/bluetooth/rfcomm/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,8 @@ static inline int rfcomm_check_link_mode(struct rfcomm_dlc *d)

static void rfcomm_dlc_accept(struct rfcomm_dlc *d)
{
struct sock *sk = d->session->sock->sk;

BT_DBG("dlc %p", d);

rfcomm_send_ua(d->session, d->dlci);
Expand All @@ -1159,6 +1161,9 @@ static void rfcomm_dlc_accept(struct rfcomm_dlc *d)
d->state_change(d, 0);
rfcomm_dlc_unlock(d);

if (d->link_mode & RFCOMM_LM_MASTER)
hci_conn_switch_role(l2cap_pi(sk)->conn->hcon, 0x00);

rfcomm_send_msc(d->session, 1, d->dlci, d->v24_sig);
}

Expand Down

0 comments on commit c5caf26

Please sign in to comment.