diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2013-04-04 19:20:59 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-18 00:15:05 -0400 |
commit | b6c7515a288485fc638f95d484d8f1dbe1b7f541 (patch) | |
tree | b6fb27f42eb073721cd0be3bfc15ecba50468e4f /net/bluetooth/hci_core.c | |
parent | d2c5d77fff6ac0f43fc36f4fde020f726f773c1d (diff) |
Bluetooth: Change LE scanning timeout macros
Define LE scanning timeout macros in jiffies just like we do for
others timeout macros.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r-- | net/bluetooth/hci_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index e246d3782ac2..00dcb74954d3 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -2024,7 +2024,7 @@ static int hci_do_le_scan(struct hci_dev *hdev, u8 type, u16 interval, | |||
2024 | return err; | 2024 | return err; |
2025 | 2025 | ||
2026 | queue_delayed_work(hdev->workqueue, &hdev->le_scan_disable, | 2026 | queue_delayed_work(hdev->workqueue, &hdev->le_scan_disable, |
2027 | msecs_to_jiffies(timeout)); | 2027 | timeout); |
2028 | 2028 | ||
2029 | return 0; | 2029 | return 0; |
2030 | } | 2030 | } |