* [PATCH] Bluetooth-next:Fixed wrong L2CAP Sock timer value
@ 2011-07-28 12:42 chen.ganir
2011-08-01 19:26 ` Gustavo Padovan
0 siblings, 1 reply; 2+ messages in thread
From: chen.ganir @ 2011-07-28 12:42 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Chen Ganir
From: Chen Ganir <chen.ganir@ti.com>
L2CAP connection timeout needs to be assigned as miliseconds
and not as jiffies.
Signed-off-by: Chen Ganir <chen.ganir@ti.com>
---
net/bluetooth/l2cap_sock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
index 5c36b3e..e5e8db9 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -993,7 +993,7 @@ static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int p
INIT_LIST_HEAD(&bt_sk(sk)->accept_q);
sk->sk_destruct = l2cap_sock_destruct;
- sk->sk_sndtimeo = msecs_to_jiffies(L2CAP_CONN_TIMEOUT);
+ sk->sk_sndtimeo = L2CAP_CONN_TIMEOUT;
sock_reset_flag(sk, SOCK_ZAPPED);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth-next:Fixed wrong L2CAP Sock timer value
2011-07-28 12:42 [PATCH] Bluetooth-next:Fixed wrong L2CAP Sock timer value chen.ganir
@ 2011-08-01 19:26 ` Gustavo Padovan
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Padovan @ 2011-08-01 19:26 UTC (permalink / raw)
To: chen.ganir; +Cc: linux-bluetooth, Chen Ganir
Hi Chen,
* chen.ganir@gmail.com <chen.ganir@gmail.com> [2011-07-28 15:42:09 +0300]:
> From: Chen Ganir <chen.ganir@ti.com>
>
> L2CAP connection timeout needs to be assigned as miliseconds
> and not as jiffies.
>
> Signed-off-by: Chen Ganir <chen.ganir@ti.com>
> ---
> net/bluetooth/l2cap_sock.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Patch has been applied, thanks.
Gustavo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-01 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-28 12:42 [PATCH] Bluetooth-next:Fixed wrong L2CAP Sock timer value chen.ganir
2011-08-01 19:26 ` Gustavo Padovan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.