forked from Minki/linux
Bluetooth: Fix indentation whitespace
Signed-off-by: Mat Martineau <mathewm@codeaurora.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
9a7b150118
commit
774e565146
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user