aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>2014-03-27 15:55:20 -0400
committerMarcel Holtmann <marcel@holtmann.org>2014-03-28 03:09:30 -0400
commitb9a7a61e5c3e2f6316c2aedf4ca171bdee7a4804 (patch)
tree23356f501e5552003dcc54c72d3048f5f7078517 /net/bluetooth/mgmt.c
parentae55f5982a8bc6adbafb337e0b781d30d5617782 (diff)
Bluetooth: Add new debugfs parameter
With this patch it is possible to control discovery interleaved timeout value from debugfs. It is for fine tuning of this timeout. Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r--net/bluetooth/mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 944c4fc87905..b34e13aed51c 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -3372,7 +3372,7 @@ static void start_discovery_complete(struct hci_dev *hdev, u8 status)
3372 break; 3372 break;
3373 3373
3374 case DISCOV_TYPE_INTERLEAVED: 3374 case DISCOV_TYPE_INTERLEAVED:
3375 timeout = msecs_to_jiffies(DISCOV_INTERLEAVED_TIMEOUT); 3375 timeout = msecs_to_jiffies(hdev->discov_interleaved_timeout);
3376 break; 3376 break;
3377 3377
3378 case DISCOV_TYPE_BREDR: 3378 case DISCOV_TYPE_BREDR: