Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314412
b: refs/heads/master
c: 401bb1f
h: refs/heads/master
v: v3
  • Loading branch information
Andrei Emeltchenko authored and Johan Hedberg committed Jun 5, 2012
1 parent c407f18 commit d4e551a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee556f662ca9e96a3cdb0d10745f9fd0cbf549af
refs/heads/master: 401bb1f768c842b9fbfaeb7741cc5cf17c70ffd1
12 changes: 6 additions & 6 deletions trunk/net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ static void l2cap_monitor_timeout(struct work_struct *work)
return;
}

l2cap_tx(chan, 0, 0, L2CAP_EV_MONITOR_TO);
l2cap_tx(chan, NULL, NULL, L2CAP_EV_MONITOR_TO);

l2cap_chan_unlock(chan);
l2cap_chan_put(chan);
Expand All @@ -1680,7 +1680,7 @@ static void l2cap_retrans_timeout(struct work_struct *work)
return;
}

l2cap_tx(chan, 0, 0, L2CAP_EV_RETRANS_TO);
l2cap_tx(chan, NULL, NULL, L2CAP_EV_RETRANS_TO);
l2cap_chan_unlock(chan);
l2cap_chan_put(chan);
}
Expand Down Expand Up @@ -2257,7 +2257,7 @@ int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len,
break;

if (chan->mode == L2CAP_MODE_ERTM)
err = l2cap_tx(chan, 0, &seg_queue,
err = l2cap_tx(chan, NULL, &seg_queue,
L2CAP_EV_DATA_REQUEST);
else
err = l2cap_streaming_send(chan, &seg_queue);
Expand Down Expand Up @@ -2571,14 +2571,14 @@ static void l2cap_pass_to_tx(struct l2cap_chan *chan,
struct l2cap_ctrl *control)
{
BT_DBG("chan %p, control %p", chan, control);
l2cap_tx(chan, control, 0, L2CAP_EV_RECV_REQSEQ_AND_FBIT);
l2cap_tx(chan, control, NULL, L2CAP_EV_RECV_REQSEQ_AND_FBIT);
}

static void l2cap_pass_to_tx_fbit(struct l2cap_chan *chan,
struct l2cap_ctrl *control)
{
BT_DBG("chan %p, control %p", chan, control);
l2cap_tx(chan, control, 0, L2CAP_EV_RECV_FBIT);
l2cap_tx(chan, control, NULL, L2CAP_EV_RECV_FBIT);
}

/* Copy frame to all raw sockets on that connection */
Expand Down Expand Up @@ -4553,7 +4553,7 @@ void l2cap_chan_busy(struct l2cap_chan *chan, int busy)
return;

event = busy ? L2CAP_EV_LOCAL_BUSY_DETECTED : L2CAP_EV_LOCAL_BUSY_CLEAR;
l2cap_tx(chan, 0, 0, event);
l2cap_tx(chan, NULL, NULL, event);
}

static int l2cap_rx_queued_iframes(struct l2cap_chan *chan)
Expand Down

0 comments on commit d4e551a

Please sign in to comment.