diff options
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index ab2bfcf3cd24..fb5238133005 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -225,7 +225,7 @@ static void l2cap_set_timer(struct l2cap_chan *chan, struct timer_list *timer, l | |||
225 | { | 225 | { |
226 | BT_DBG("chan %p state %d timeout %ld", chan->sk, chan->state, timeout); | 226 | BT_DBG("chan %p state %d timeout %ld", chan->sk, chan->state, timeout); |
227 | 227 | ||
228 | if (!mod_timer(timer, jiffies + timeout)) | 228 | if (!mod_timer(timer, jiffies + msecs_to_jiffies(timeout))) |
229 | chan_hold(chan); | 229 | chan_hold(chan); |
230 | } | 230 | } |
231 | 231 | ||