Hi Andrzej, > After moving L2CAP timers to workqueues l2cap_set_timer expects timeout > value to be specified in jiffies but constants defined in miliseconds > are used. This makes timeouts unreliable when CONFIG_HZ is not set to > 1000. > > __set_chan_timer macro still uses jiffies as input to avoid multiple > conversions from/to jiffies for sk_sndtimeo value which is already > specified in jiffies. > > Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@xxxxxxxxx> > --- > include/net/bluetooth/l2cap.h | 6 +++--- > net/bluetooth/l2cap_core.c | 12 ++++++++---- > 2 files changed, 11 insertions(+), 7 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html