Skip to content

Commit

Permalink
Bluetooth: Fix indentation whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Mat Martineau authored and Gustavo F. Padovan committed Jun 30, 2011
1 parent 9a7b150 commit 774e565
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,18 +223,18 @@ static u16 l2cap_alloc_cid(struct l2cap_conn *conn)

static void l2cap_set_timer(struct l2cap_chan *chan, struct timer_list *timer, long timeout)
{
BT_DBG("chan %p state %d timeout %ld", chan->sk, chan->state, timeout);
BT_DBG("chan %p state %d timeout %ld", chan->sk, chan->state, timeout);

if (!mod_timer(timer, jiffies + timeout))
chan_hold(chan);
if (!mod_timer(timer, jiffies + timeout))
chan_hold(chan);
}

static void l2cap_clear_timer(struct l2cap_chan *chan, struct timer_list *timer)
{
BT_DBG("chan %p state %d", chan, chan->state);
BT_DBG("chan %p state %d", chan, chan->state);

if (timer_pending(timer) && del_timer(timer))
chan_put(chan);
if (timer_pending(timer) && del_timer(timer))
chan_put(chan);
}

static void l2cap_state_change(struct l2cap_chan *chan, int state)
Expand Down

0 comments on commit 774e565

Please sign in to comment.