diff options
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
| -rw-r--r-- | net/bluetooth/l2cap_core.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 805c752ac0a9..d08320380ad6 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -282,7 +282,7 @@ static void __set_retrans_timer(struct l2cap_chan *chan)  	if (!delayed_work_pending(&chan->monitor_timer) &&  	    chan->retrans_timeout) {  		l2cap_set_timer(chan, &chan->retrans_timer, -				secs_to_jiffies(chan->retrans_timeout)); +				msecs_to_jiffies(chan->retrans_timeout));  	}  } @@ -291,7 +291,7 @@ static void __set_monitor_timer(struct l2cap_chan *chan)  	__clear_retrans_timer(chan);  	if (chan->monitor_timeout) {  		l2cap_set_timer(chan, &chan->monitor_timer, -				secs_to_jiffies(chan->monitor_timeout)); +				msecs_to_jiffies(chan->monitor_timeout));  	}  }  | 
