From 8f0965f1091a7ecf5f315108b7d7876dc0a68f3b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 4 Aug 2008 20:02:01 +0200 Subject: Remove SDP server and experimental option --- src/adapter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/adapter.c') diff --git a/src/adapter.c b/src/adapter.c index 5cba591b..cd14b2b7 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -2320,10 +2320,8 @@ int adapter_start(struct adapter *adapter) if (!(features[6] & LMP_SIMPLE_PAIR)) goto setup; - if (hcid_dbus_use_experimental()) { - if (ioctl(dd, HCIGETAUTHINFO, NULL) < 0 && errno != EINVAL) - hci_write_simple_pairing_mode(dd, 0x01, 2000); - } + if (ioctl(dd, HCIGETAUTHINFO, NULL) < 0 && errno != EINVAL) + hci_write_simple_pairing_mode(dd, 0x01, 2000); if (hci_read_simple_pairing_mode(dd, &dev->ssp_mode, 1000) < 0) { err = errno; -- cgit