commit | cb02a25583b59ce48267472cd092485d754964f9 | [log] [tgz] |
---|---|---|
author | Dean Jenkins <Dean_Jenkins@mentor.com> | Tue Jun 23 17:59:38 2015 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Jul 23 17:10:51 2015 +0200 |
tree | fd44e800c2d29874c263a42256ad2572dd9f0325 | |
parent | 451e4c6c6b3fd1a9f446a10eb9f6d4c2c476043c [diff] |
Bluetooth: __l2cap_wait_ack() use msecs_to_jiffies() Use msecs_to_jiffies() instead of using HZ so that it is easier to specify the time in milliseconds. Also add a #define L2CAP_WAIT_ACK_POLL_PERIOD to specify the 200ms polling period so that it is defined in a single place. Signed-off-by: Dean Jenkins <Dean_Jenkins@mentor.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>